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

java.lang.Object
  extended by org.apache.cocoon.webapps.authentication.user.UserHandler
All Implemented Interfaces:
Serializable

Deprecated. This block is deprecated and will be removed in future versions.

public final class UserHandler
extends Object
implements Serializable

The authentication Handler.

Version:
CVS $Id: UserHandler.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Constructor Summary
UserHandler(HandlerConfiguration handler, AuthenticationContext context)
          Deprecated. Create a new handler object.
 
Method Summary
 void addApplicationContext(String name)
          Deprecated.  
 List getApplicationContexts()
          Deprecated. Return the list or null.
 boolean getApplicationsLoaded()
          Deprecated. Are all application contexts already loaded?
 AuthenticationContext getContext()
          Deprecated. Add a handler context
 HandlerConfiguration getHandlerConfiguration()
          Deprecated. Get the handler configuration
 String getHandlerName()
          Deprecated. Get the handler name
 String getUserId()
          Deprecated. Get the unique user id
 boolean isApplicationLoaded(ApplicationConfiguration appConf)
          Deprecated. Is the named application context already loaded?
 boolean isUserInRole(String role)
          Deprecated. Test if the user has a role
 void setApplicationIsLoaded(ApplicationConfiguration appConf)
          Deprecated. Notify that the application context has been loaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserHandler

public UserHandler(HandlerConfiguration handler,
                   AuthenticationContext context)
Deprecated. 
Create a new handler object.

Method Detail

getApplicationsLoaded

public boolean getApplicationsLoaded()
Deprecated. 
Are all application contexts already loaded?


getContext

public AuthenticationContext getContext()
Deprecated. 
Add a handler context


getHandlerName

public String getHandlerName()
Deprecated. 
Get the handler name


getHandlerConfiguration

public HandlerConfiguration getHandlerConfiguration()
Deprecated. 
Get the handler configuration


isApplicationLoaded

public boolean isApplicationLoaded(ApplicationConfiguration appConf)
Deprecated. 
Is the named application context already loaded?


setApplicationIsLoaded

public void setApplicationIsLoaded(ApplicationConfiguration appConf)
Deprecated. 
Notify that the application context has been loaded


getUserId

public String getUserId()
Deprecated. 
Get the unique user id


isUserInRole

public boolean isUserInRole(String role)
Deprecated. 
Test if the user has a role

Since:
2.1.6

addApplicationContext

public void addApplicationContext(String name)
Deprecated. 

getApplicationContexts

public List getApplicationContexts()
Deprecated. 
Return the list or null.



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.