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

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.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

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
ShibbolethAction()
           
 
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
 

Constructor Detail

ShibbolethAction

public ShibbolethAction()
Method Detail

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 © 2013 DuraSpace. All Rights Reserved.