org.jboss.security.authorization.modules
Class AbstractJACCModuleDelegate

java.lang.Object
  extended by org.jboss.security.authorization.modules.AuthorizationModuleDelegate
      extended by org.jboss.security.authorization.modules.AbstractJACCModuleDelegate
Direct Known Subclasses:
EJBJACCPolicyModuleDelegate, WebJACCPolicyModuleDelegate

public abstract class AbstractJACCModuleDelegate
extends AuthorizationModuleDelegate

Common methods for the JACC layer

Since:
Jan 4, 2008
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Field Summary
 
Fields inherited from class org.jboss.security.authorization.modules.AuthorizationModuleDelegate
log, policyRegistration, trace
 
Constructor Summary
AbstractJACCModuleDelegate()
           
 
Method Summary
abstract  int authorize(org.jboss.security.authorization.Resource resource, Subject subject, org.jboss.security.identity.RoleGroup role)
           
protected  Principal[] getPrincipals(Subject subject, org.jboss.security.identity.Role role)
           
 
Methods inherited from class org.jboss.security.authorization.modules.AuthorizationModuleDelegate
setPolicyRegistrationManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJACCModuleDelegate

public AbstractJACCModuleDelegate()
Method Detail

authorize

public abstract int authorize(org.jboss.security.authorization.Resource resource,
                              Subject subject,
                              org.jboss.security.identity.RoleGroup role)
Specified by:
authorize in class AuthorizationModuleDelegate
subject - Authenticated Subject
role - RoleGroup
Returns:
See Also:
AuthorizationModule.authorize(Resource)

getPrincipals

protected Principal[] getPrincipals(Subject subject,
                                    org.jboss.security.identity.Role role)


Copyright © 2009 JBoss Inc.. All Rights Reserved.