org.exist.cocoon
Class XMLDBSessionLoginAction

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.acting.AbstractAction
          extended by org.apache.cocoon.acting.ServiceableAction
              extended by org.exist.cocoon.XMLDBSessionLoginAction
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, org.apache.cocoon.acting.Action

public class XMLDBSessionLoginAction
extends org.apache.cocoon.acting.ServiceableAction
implements org.apache.avalon.framework.thread.ThreadSafe

Cocoon action to authenticate a user against the database. If authentication succeeds, user and password will be stored into the current session.

Author:
Wolfgang Meier

Field Summary
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
XMLDBSessionLoginAction()
           
 
Method Summary
 Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, Map objectModel, String source, org.apache.avalon.framework.parameters.Parameters param)
           
 
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDBSessionLoginAction

public XMLDBSessionLoginAction()
Method Detail

act

public Map act(org.apache.cocoon.environment.Redirector redirector,
               org.apache.cocoon.environment.SourceResolver resolver,
               Map objectModel,
               String source,
               org.apache.avalon.framework.parameters.Parameters param)
        throws Exception
Specified by:
act in interface org.apache.cocoon.acting.Action
Throws:
Exception


Copyright (C) Wolfgang Meier. All rights reserved.