net.geant.edugain.base
Class AuthorizationRequester
java.lang.Object
net.geant.edugain.base.AuthorizationRequester
- All Implemented Interfaces:
- Requester
public class AuthorizationRequester
- extends java.lang.Object
- implements Requester
Implements an eduGAIN vanilla Authorization requester.
- Author:
- Jose Manuel Macias, Jaime Perez
|
Method Summary |
Response |
request(Request req)
Sends the request to the interface provided within the request |
Response |
request(Request req,
java.net.URI remote)
Perform a request to the federation, getting back the response. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
request
AuthorizationRequest request
log
private org.apache.log4j.Logger log
AuthorizationRequester
public AuthorizationRequester()
- Creates a new instance of a 'Vanilla' AuthorizationRequester. The constructor
configures eduGAINBase for further usage.
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
- Description copied from interface:
Requester
- Perform a request to the federation, getting back the response.
- Specified by:
request in interface Requester
- Parameters:
req - The eduGAIN request being sent.remote - The point where to send the request.
- Returns:
- The response to the request.
- Throws:
BaseException