org.dspace.app.xmlui.aspect.eperson
Class UnAuthenticateAction

java.lang.Object
  extended by org.apache.cocoon.util.AbstractLogEnabled
      extended by org.apache.cocoon.acting.AbstractAction
          extended by org.dspace.app.xmlui.aspect.eperson.UnAuthenticateAction
All Implemented Interfaces:
org.apache.cocoon.acting.Action

public class UnAuthenticateAction
extends org.apache.cocoon.acting.AbstractAction

Unauthenticate the current user. There is no way this action will fail, so any components inside the action will be executed. This action will always send an HTTP redirect to the DSpace homepage. Example:

Author:
Scott Phillips

Field Summary
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
UnAuthenticateAction()
           
 
Method Summary
 java.util.Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, java.util.Map objectModel, java.lang.String source, org.apache.avalon.framework.parameters.Parameters parameters)
          Logout the current user.
 
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

UnAuthenticateAction

public UnAuthenticateAction()
Method Detail

act

public java.util.Map act(org.apache.cocoon.environment.Redirector redirector,
                         org.apache.cocoon.environment.SourceResolver resolver,
                         java.util.Map objectModel,
                         java.lang.String source,
                         org.apache.avalon.framework.parameters.Parameters parameters)
                  throws java.lang.Exception
Logout the current user.

Parameters:
redirector -
resolver -
objectModel - Cocoon's object model
source -
parameters -
Throws:
java.lang.Exception


Copyright © 2010 DuraSpace. All Rights Reserved.