public class ShibbolethAction
extends org.apache.cocoon.acting.AbstractAction
If the authentication attempt is successful then an HTTP redirect will be sent to the browser redirecting them to their original location in the system before authenticated or if none is supplied back to the DSpace home page. The action will also return true, thus contents of the action will be executed.
If the authentication attempt fails, the action returns false.
Example use:
<map:act name="Shibboleth">
<map:serialize type="xml"/>
</map:act>
<map:transform type="try-to-login-again-transformer">
| Constructor and Description |
|---|
ShibbolethAction() |
| 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)
Attempt to authenticate the user.
|
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 org.apache.cocoon.sitemap.PatternException, Exception
redirector - redirector.resolver - source resolver.objectModel - object model.source - source.parameters - sitemap parameters.org.apache.cocoon.sitemap.PatternException - if authentication fails.Exception - passed through.Copyright © 2016 DuraSpace. All rights reserved.