public final class RunAsRolePermission extends BasicPermission
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.| Constructor and Description |
|---|
RunAsRolePermission(String roleName) |
equals, getActions, hashCode, implies, newPermissionCollectioncheckGuard, getName, toStringpublic RunAsRolePermission(String roleName)
Copyright © 2019 JBoss by Red Hat. All rights reserved.