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 |
policyRegistration
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(org.jboss.security.authorization.Resource, javax.security.auth.Subject, org.jboss.security.identity.RoleGroup)
protected int checkRoleRef(RoleGroup principalRole)
Copyright © 2021 JBoss by Red Hat. All rights reserved.