org.dspace.app.xmlui.aspect.eperson
Class ShibbolethAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.dspace.app.xmlui.aspect.eperson.ShibbolethAction
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action
public class ShibbolethAction
- extends org.apache.cocoon.acting.AbstractAction
Attempt to authenticate the user based upon their presented shibboleth credentials.
This action uses the http parameters as supplied by Shibboleth SP.
Read dspace.cfg for configuration detail.
If the authentication attempt is successfull 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
homepage. The action will also return true, thus contents of the action will
be excuted.
If the authentication attempt fails, the action returns false.
Example use:
- Author:
- Bruc Liong, MELCOE
| 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)
Attempt to authenticate the 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 |
ShibbolethAction
public ShibbolethAction()
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
- Attempt to authenticate the user.
- Throws:
Exception
Copyright © 2012 DuraSpace. All Rights Reserved.