Class RunAsRolePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
org.jboss.as.controller.access.rbac.RunAsRolePermission
- All Implemented Interfaces:
Serializable,Guard
A simple
Permission to 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 a Subject representing a remote user is already combined with the AccessControlContext this
SecurityManager check is not used.- Author:
- Darran Lofthouse
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollectionMethods inherited from class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
RunAsRolePermission
-