public class EJBPolicyModuleDelegate extends AuthorizationModuleDelegate
Modifier and Type | Field and Description |
---|---|
protected RunAs |
callerRunAs |
protected Method |
ejbMethod |
protected String |
ejbName |
protected Principal |
ejbPrincipal |
protected boolean |
ejbRestrictions |
protected String |
roleName |
protected Set<SecurityRoleRef> |
securityRoleReferences |
log, policyRegistration, trace
Constructor and Description |
---|
EJBPolicyModuleDelegate() |
Modifier and Type | Method and Description |
---|---|
int |
authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
protected int |
checkRoleRef(RoleGroup principalRole) |
setPolicyRegistrationManager
protected String ejbName
protected Method ejbMethod
protected Principal ejbPrincipal
protected RunAs callerRunAs
protected String roleName
protected Set<SecurityRoleRef> securityRoleReferences
protected boolean ejbRestrictions
public int authorize(Resource resource, Subject callerSubject, RoleGroup role)
authorize
in class AuthorizationModuleDelegate
callerSubject
- Authenticated Subjectrole
- RoleGroupAuthorizationModuleDelegate#authorize(Resource)
protected int checkRoleRef(RoleGroup principalRole)
Copyright © 2012 JBoss Inc.. All Rights Reserved.