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, AccessControllerResolver

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

Configurable access controller resolver.

Version:
$Id: ConfigurableAccessControllerResolver.java 473841 2006-11-12 00:46:38Z 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
 
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)
           
 AccessController doResolveAccessController(java.lang.String webappUrl)
          The actual resolving method.
 
Methods inherited from class org.apache.lenya.ac.impl.AbstractAccessControllerResolver
generateCacheKey, 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 AccessController doResolveAccessController(java.lang.String webappUrl)
                                           throws 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:
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 © 1999-2005 Apache Software Foundation. All Rights Reserved.