public class StartAuthenticationAction
extends org.apache.cocoon.acting.AbstractAction
Possible parameters are:
Example:
<map:action name="StartAuthenticationAction" src="org.dspace.app.xmlui.eperson.StartAuthenticationAction"/>
<map:act type="StartAuthenticationAction"/>
Typically, this is used in conjunction with the AuthenticatedSelector as:
<map:select type="AuthenticatedSelector">
<map:when test="eperson">
...
</map:when>
<map:otherwise>
<map:act type="startAuthenticationAction">
<map:parameter name="message" value="xmlui.Aspect.component.tag"/>
</map:act>
</map:otherwise>
</map:select>
| Constructor and Description |
|---|
StartAuthenticationAction() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
redirector - redirector.resolver - source resolver.objectModel - object model.source - source.parameters - sitemap parameters.Exception - passed through.Copyright © 2016 DuraSpace. All rights reserved.