org.dspace.app.xmlui.aspect.eperson
Class StartAuthenticationAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.dspace.app.xmlui.aspect.eperson.StartAuthenticationAction
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action
public class StartAuthenticationAction
- extends org.apache.cocoon.acting.AbstractAction
This action will start the nessary steps to authenticate a user. After the user
successfully authenticates the user will resume this request with all parameters
and attributes intact. An optional message can be added that will be displayed
on the login form. This could be used to provide a reason why the user is being
queried for a user name and password.
Possible parameter are:
header: An i18n message that will be used as the header for the message.
message: An i18n message tag.
characters: Characters to be displayed, possibly for untranslated error messages
Typicaly this is used in conjunction with the AuthenticatedSelector as:
...
- Author:
- Scott Phillips
| Fields inherited from class org.apache.cocoon.acting.AbstractAction |
EMPTY_MAP |
| Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
|
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 parameters)
Redirect the user to the login page. |
| 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 |
StartAuthenticationAction
public StartAuthenticationAction()
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 parameters)
throws Exception
- Redirect the user to the login page.
- Throws:
Exception
Copyright © 2011 DuraSpace. All Rights Reserved.