org.apache.lenya.ac.impl
Class ConfigurableAccessControllerResolver

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.ac.impl.AbstractAccessControllerResolver
          extended by org.apache.lenya.ac.impl.ConfigurableAccessControllerResolver
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, org.apache.lenya.ac.AccessControllerResolver

public class ConfigurableAccessControllerResolver
extends AbstractAccessControllerResolver
implements org.apache.avalon.framework.configuration.Configurable

Configurable access controller resolver.

Version:
$Id: ConfigurableAccessControllerResolver.java 473861 2006-11-12 03:51:14Z gregor $

Field Summary
protected static java.lang.String ACCESS_CONTROLLER_ELEMENT
           
protected static java.lang.String TYPE_ATTRIBUTE
           
 
Fields inherited from class org.apache.lenya.ac.impl.AbstractAccessControllerResolver
CAPACITY, manager
 
Fields inherited from interface org.apache.lenya.ac.AccessControllerResolver
DEFAULT_RESOLVER, ROLE
 
Constructor Summary
ConfigurableAccessControllerResolver()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 org.apache.lenya.ac.AccessController doResolveAccessController(java.lang.String webappUrl)
          The actual resolving method.
 
Methods inherited from class org.apache.lenya.ac.impl.AbstractAccessControllerResolver
generateCacheKey, getCache, getManager, release, resolveAccessController, service
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCESS_CONTROLLER_ELEMENT

protected static final java.lang.String ACCESS_CONTROLLER_ELEMENT
See Also:
Constant Field Values

TYPE_ATTRIBUTE

protected static final java.lang.String TYPE_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

ConfigurableAccessControllerResolver

public ConfigurableAccessControllerResolver()
Method Detail

doResolveAccessController

public org.apache.lenya.ac.AccessController doResolveAccessController(java.lang.String webappUrl)
                                                               throws org.apache.lenya.ac.AccessControlException
Description copied from class: AbstractAccessControllerResolver
The actual resolving method.

Specified by:
doResolveAccessController in class AbstractAccessControllerResolver
Parameters:
webappUrl - The URL within the web application.
Returns:
An access controller.
Throws:
org.apache.lenya.ac.AccessControlException - when something went wrong.
See Also:
AbstractAccessControllerResolver.doResolveAccessController(java.lang.String)

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)


Copyright $ Apache Software Foundation. All Rights Reserved.