org.jboss.security.authorization.modules.web
Class WebPolicyModuleDelegate

java.lang.Object
  extended by org.jboss.security.authorization.modules.AuthorizationModuleDelegate
      extended by org.jboss.security.authorization.modules.web.WebPolicyModuleDelegate

public class WebPolicyModuleDelegate
extends AuthorizationModuleDelegate

Authorization Module Delegate that deals with the default authorization behavior (Simply returns PERMIT, because the final decision will be made by the base class of Realm (RealmBase))

Since:
Jul 21, 2006
Version:
$Revision: 62923 $
Author:
Anil Saldhana

Field Summary
 
Fields inherited from class org.jboss.security.authorization.modules.AuthorizationModuleDelegate
log, policyRegistration, trace
 
Constructor Summary
WebPolicyModuleDelegate()
           
 
Method Summary
 int authorize(org.jboss.security.authorization.Resource resource, Subject subject, org.jboss.security.identity.RoleGroup 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

WebPolicyModuleDelegate

public WebPolicyModuleDelegate()
Method Detail

authorize

public 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)


Copyright © 2009 JBoss Inc.. All Rights Reserved.