public class PolicyContext
extends java.lang.Object
Constructor and Description |
---|
PolicyContext(java.lang.String contextId) |
Modifier and Type | Method and Description |
---|---|
void |
addRole(java.lang.String name,
java.security.Permission permission) |
java.lang.String |
getContextID() |
java.security.PermissionCollection |
getExcludedPermissions() |
java.util.Map<java.lang.String,java.security.PermissionCollection> |
getRolePermissions() |
java.security.PermissionCollection |
getUncheckedPermissions() |
public java.security.PermissionCollection getExcludedPermissions()
public java.security.PermissionCollection getUncheckedPermissions()
public java.util.Map<java.lang.String,java.security.PermissionCollection> getRolePermissions()
public void addRole(java.lang.String name, java.security.Permission permission)
public java.lang.String getContextID()