net.geant.edugain.base
Class AuthenticationRequester

java.lang.Object
  extended by net.geant.edugain.base.AuthenticationRequester
All Implemented Interfaces:
Requester

public class AuthenticationRequester
extends java.lang.Object
implements Requester

Implements an eduGAIN vanilla Authentication requester.

Author:
Jose Manuel Macias

Field Summary
private  org.apache.log4j.Logger log
           
(package private)  AuthenticationRequest request
           
 
Constructor Summary
AuthenticationRequester()
          Creates a new instance of a 'Vanilla' AuthenticationRequester.
 
Method Summary
 Response request(Request req)
          Sends the request to the interface provided within the request
 Response request(Request req, java.net.URI remote)
           
 
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

request

AuthenticationRequest request
Constructor Detail

AuthenticationRequester

public AuthenticationRequester()
Creates a new instance of a 'Vanilla' AuthenticationRequester. The constructor configures eduGAINBase for further usage.

Method Detail

request

public Response request(Request req)
                 throws BaseException
Sends the request to the interface provided within the request

Specified by:
request in interface Requester
Parameters:
req - The eduGAIN request being sent
Returns:
The response to the request
Throws:
BaseException

request

public Response request(Request req,
                        java.net.URI remote)
                 throws BaseException
Throws:
BaseException