net.geant.edugain.base.websso
Class WebSSORequester

java.lang.Object
  extended by net.geant.edugain.base.websso.WebSSORequester

public class WebSSORequester
extends java.lang.Object

Class to be used by a 'requester' (remote) bridging element to handle HTTP requests coming from a local federation that need to be translated into eduGAIN messages.

Author:
Jose Manuel Macias, Jaime Perez

Field Summary
private  org.apache.log4j.Logger log
           
 
Constructor Summary
WebSSORequester()
          Simple constructor with no parameters.
WebSSORequester(java.util.Properties props)
          Constructor receiving signing properties as a parameter.
 
Method Summary
 java.lang.String getAuthenticationRequestURL(AuthenticationRequest request)
          Processes an AuthenticationRequest request and builds the appropriate HTTP response (redirection to a HomeBE).
 void sendAuthenticationRequest(AuthenticationRequest request, javax.servlet.http.HttpServletResponse httpResponse)
          Processes an AuthenticationRequest request and builds the appropriate HTTP response (redirection to a HomeBE).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.apache.log4j.Logger log
Constructor Detail

WebSSORequester

public WebSSORequester()
Simple constructor with no parameters. It's assumed that an adaptor needs to be registered using method registerAdaptor()


WebSSORequester

public WebSSORequester(java.util.Properties props)
Constructor receiving signing properties as a parameter.

Method Detail

getAuthenticationRequestURL

public java.lang.String getAuthenticationRequestURL(AuthenticationRequest request)
                                             throws BaseException
Processes an AuthenticationRequest request and builds the appropriate HTTP response (redirection to a HomeBE).

Throws:
BaseException

sendAuthenticationRequest

public void sendAuthenticationRequest(AuthenticationRequest request,
                                      javax.servlet.http.HttpServletResponse httpResponse)
                               throws BaseException
Processes an AuthenticationRequest request and builds the appropriate HTTP response (redirection to a HomeBE).

Throws:
BaseException