org.apache.cocoon.auth.acting
Class LoginAction

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.acting.AbstractAction
          extended byorg.apache.cocoon.acting.ServiceableAction
              extended byorg.apache.cocoon.auth.acting.AbstractAuthAction
                  extended byorg.apache.cocoon.auth.acting.LoginAction
All Implemented Interfaces:
org.apache.cocoon.acting.Action, Disposable, Serviceable, ThreadSafe

public final class LoginAction
extends AbstractAuthAction

This action logs the current user into a given application. If the authentication is successful, a map is returned with the authentication information and a session is created (if it not already exists).

Version:
$Id: LoginAction.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.auth.acting.AbstractAuthAction
applicationManager
 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
LoginAction()
           
 
Method Summary
 Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, Map objectModel, String source, Parameters par)
           
 
Methods inherited from class org.apache.cocoon.auth.acting.AbstractAuthAction
dispose, service
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginAction

public LoginAction()
Method Detail

act

public Map act(org.apache.cocoon.environment.Redirector redirector,
               org.apache.cocoon.environment.SourceResolver resolver,
               Map objectModel,
               String source,
               Parameters par)
        throws Exception
Throws:
Exception
See Also:
Action.act(org.apache.cocoon.environment.Redirector, org.apache.cocoon.environment.SourceResolver, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters)


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