Class RunAsRolePermission
- java.lang.Object
-
- java.security.Permission
-
- java.security.BasicPermission
-
- org.jboss.as.controller.access.rbac.RunAsRolePermission
-
- All Implemented Interfaces:
Serializable,Guard
public final class RunAsRolePermission extends BasicPermission
A simplePermissionto allow code being executed without an associated remote to be granted the permission to execute using a specified role. Initially by default only one role is used for in-vm calls, however this could be extended to allow different in-vm calls to be granted different roles. Where aSubjectrepresenting a remote user is already combined with theAccessControlContextthisSecurityManagercheck is not used.- Author:
- Darran Lofthouse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RunAsRolePermission(String roleName)
-
Method Summary
-
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Constructor Detail
-
RunAsRolePermission
public RunAsRolePermission(String roleName)
-
-