org.jboss.security.authorization.modules.ejb
Class EJBPolicyModuleDelegate
java.lang.Object
org.jboss.security.authorization.modules.AuthorizationModuleDelegate
org.jboss.security.authorization.modules.ejb.EJBPolicyModuleDelegate
- Direct Known Subclasses:
- EJBXACMLPolicyModuleDelegate
public class EJBPolicyModuleDelegate
- extends AuthorizationModuleDelegate
Authorization Module delegate that deals with the authorization decisions
for the EJB Layer (Default Behavior)
- Since:
- Jul 6, 2006
- Version:
- $Revision: 86122 $
- Author:
- Anil Saldhana
Method Summary |
int |
authorize(org.jboss.security.authorization.Resource resource,
Subject callerSubject,
org.jboss.security.identity.RoleGroup role)
|
protected int |
checkRoleRef(org.jboss.security.identity.RoleGroup principalRole)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ejbName
protected String ejbName
ejbMethod
protected Method ejbMethod
ejbPrincipal
protected Principal ejbPrincipal
callerRunAs
protected org.jboss.security.RunAs callerRunAs
roleName
protected String roleName
securityRoleReferences
protected Set<org.jboss.security.javaee.SecurityRoleRef> securityRoleReferences
ejbRestrictions
protected boolean ejbRestrictions
EJBPolicyModuleDelegate
public EJBPolicyModuleDelegate()
authorize
public int authorize(org.jboss.security.authorization.Resource resource,
Subject callerSubject,
org.jboss.security.identity.RoleGroup role)
- Specified by:
authorize
in class AuthorizationModuleDelegate
callerSubject
- Authenticated Subjectrole
- RoleGroup
- Returns:
- See Also:
AuthorizationModuleDelegate#authorize(Resource)
checkRoleRef
protected int checkRoleRef(org.jboss.security.identity.RoleGroup principalRole)
Copyright © 2009 JBoss Inc.. All Rights Reserved.