org.apache.cocoon.webapps.authentication.user
Class RequestState

java.lang.Object
  extended byorg.apache.cocoon.webapps.authentication.user.RequestState
All Implemented Interfaces:
Serializable

public final class RequestState
extends Object
implements Serializable

The state of the user for the current request. This object holds the information which handler and application is currently used for this request.

Version:
CVS $Id: RequestState.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Constructor Summary
RequestState(UserHandler handler, String app)
          Create a new handler object.
 
Method Summary
 ApplicationConfiguration getApplicationConfiguration()
           
 String getApplicationName()
           
 UserHandler getHandler()
           
 String getHandlerName()
           
 Configuration getModuleConfiguration(String name)
          Get the configuration if available
 void initialize(SourceResolver resolver)
          Initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestState

public RequestState(UserHandler handler,
                    String app)
Create a new handler object.

Method Detail

initialize

public void initialize(SourceResolver resolver)
                throws ProcessingException
Initialize

Throws:
ProcessingException

getApplicationName

public String getApplicationName()

getHandler

public UserHandler getHandler()

getHandlerName

public String getHandlerName()

getApplicationConfiguration

public ApplicationConfiguration getApplicationConfiguration()

getModuleConfiguration

public Configuration getModuleConfiguration(String name)
Get the configuration if available



Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.