org.aselect.server.cross.selectorhandler
Class RedirectSelectorHandler

java.lang.Object
  extended by org.aselect.server.cross.selectorhandler.RedirectSelectorHandler
All Implemented Interfaces:
ISelectorHandler

public class RedirectSelectorHandler
extends java.lang.Object
implements ISelectorHandler

Cross A-Select Selector handler that redirects to the WAYF page.

Description: The user will be redirected to a configured WAYF page location.
This handler also supports ELO servers:



Author:
Alfa & Ariss

Constructor Summary
RedirectSelectorHandler()
           
 
Method Summary
 java.util.Hashtable getRemoteServerId(java.util.Hashtable htServiceRequest, javax.servlet.http.HttpServletResponse servletResponse, java.io.PrintWriter pwOut)
          Retrieves the remote A-Select Server id.
 void init(java.lang.Object oHandlerConfig)
          Initialization of the Handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectSelectorHandler

public RedirectSelectorHandler()
Method Detail

init

public void init(java.lang.Object oHandlerConfig)
          throws ASelectException
Initialization of the Handler.

Specified by:
init in interface ISelectorHandler
Throws:
ASelectConfigException
ASelectException
See Also:
ISelectorHandler.init(java.lang.Object)

getRemoteServerId

public java.util.Hashtable getRemoteServerId(java.util.Hashtable htServiceRequest,
                                             javax.servlet.http.HttpServletResponse servletResponse,
                                             java.io.PrintWriter pwOut)
                                      throws ASelectException
Retrieves the remote A-Select Server id.

Specified by:
getRemoteServerId in interface ISelectorHandler
Returns:
Hashtable containing
  • 'organization_id'
  • 'user_id' (optional)
or NULL
Throws:
ASelectException
See Also:
ISelectorHandler.getRemoteServerId(java.util.Hashtable, javax.servlet.http.HttpServletResponse, java.io.PrintWriter)


Copyright © 2008 SURFnet BV. All Rights Reserved.