1 22 package org.jboss.web.tomcat.security.authorization.delegates; 23 24 import org.jboss.logging.Logger; 25 import org.jboss.security.authorization.AuthorizationContext; 26 import org.jboss.security.authorization.PolicyRegistration; 27 import org.jboss.security.authorization.Resource; 28 import org.jboss.security.authorization.modules.AuthorizationModuleDelegate; 29 30 32 40 public class WebPolicyModuleDelegate extends AuthorizationModuleDelegate 41 { 42 public WebPolicyModuleDelegate() 43 { 44 log = Logger.getLogger(getClass()); 45 trace = log.isTraceEnabled(); 46 } 47 48 public int authorize(Resource resource) 49 { 50 return AuthorizationContext.PERMIT; 51 } 52 53 public void setPolicyRegistrationManager(PolicyRegistration authzM ) 54 { 55 this.authzManager = authzM; 56 } 57 } 58 | Popular Tags |