net.geant.edugain.base.websso
Interface WebSSOResponseAdaptor


public interface WebSSOResponseAdaptor

WebSSOResponseAdaptor. This interface will be implemented by any adaptor element responding requests to eduGAIN. These methods will be implemented at the Home realm (in Home Bridging Elements).

Author:
Jose Manuel Macias

Method Summary
 void incomingAuthenticationResponse(AuthenticationResponse authNresponse, java.lang.String target, javax.servlet.http.HttpServletResponse httpResponse)
          Handles the request coming from the local federation, converting it to an eduGAIN authentication response that will be used by eduGAIN base.
 void setServletContext(javax.servlet.ServletContext context)
          Sets the ServletContext received from the servlet using the class implementing this adaptor.
 

Method Detail

incomingAuthenticationResponse

void incomingAuthenticationResponse(AuthenticationResponse authNresponse,
                                    java.lang.String target,
                                    javax.servlet.http.HttpServletResponse httpResponse)
Handles the request coming from the local federation, converting it to an eduGAIN authentication response that will be used by eduGAIN base.

Parameters:
authNresponse - An eduGAIN @see AuthenticationRequest object
target - The original target of the AuthenticationRequest
httpResponse - The servlet http response object.

setServletContext

void setServletContext(javax.servlet.ServletContext context)
Sets the ServletContext received from the servlet using the class implementing this adaptor.