org.apache.cocoon.webapps.authentication.context
Class AuthenticationContextProvider
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.webapps.authentication.context.AuthenticationContextProvider
- All Implemented Interfaces:
- LogEnabled, Serviceable, SessionContextProvider, ThreadSafe
- public final class AuthenticationContextProvider
- extends AbstractLogEnabled
- implements SessionContextProvider, ThreadSafe, Serviceable
Context provider for the authentication context
- Version:
- CVS $Id: AuthenticationContextProvider.java 55383 2004-10-23 15:10:46Z cziegeler $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ServiceManager manager
AuthenticationContextProvider
public AuthenticationContextProvider()
getSessionContext
public SessionContext getSessionContext(String name)
throws ProcessingException
- Get the context
- Specified by:
getSessionContext
in interface SessionContextProvider
- Parameters:
name
- The name of the context
- Returns:
- The context
- Throws:
ProcessingException
- If the context is not available.
existsSessionContext
public boolean existsSessionContext(String name)
throws ProcessingException
- Does the context exist?
- Specified by:
existsSessionContext
in interface SessionContextProvider
- Throws:
ProcessingException
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.