public class WebJACCPolicyModuleDelegate extends AbstractJACCModuleDelegate
policyRegistration
Constructor and Description |
---|
WebJACCPolicyModuleDelegate() |
Modifier and Type | Method and Description |
---|---|
int |
authorize(Resource resource,
Subject callerSubject,
RoleGroup role) |
void |
setPolicyRegistrationManager(PolicyRegistration authzM)
Set the PolicyRegistration manager
Will be used to query for the policies
|
getPrincipals
public int authorize(Resource resource, Subject callerSubject, RoleGroup role)
authorize
in class AbstractJACCModuleDelegate
callerSubject
- Authenticated Subjectrole
- RoleGroupAuthorizationModuleDelegate.authorize(org.jboss.security.authorization.Resource, javax.security.auth.Subject, org.jboss.security.identity.RoleGroup)
public void setPolicyRegistrationManager(PolicyRegistration authzM)
AuthorizationModuleDelegate
Copyright © 2016 JBoss by Red Hat. All rights reserved.