net.geant.edugain.base
Class AttributeRequester
java.lang.Object
net.geant.edugain.base.AttributeRequester
- All Implemented Interfaces:
- Requester
public class AttributeRequester
- extends java.lang.Object
- implements Requester
Implements an eduGAIN vanilla attribute requester.
- Author:
- Jose Manuel Macias
|
Constructor Summary |
AttributeRequester()
Creates a new instance of a 'Vanilla' AttributeRequester. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
request
private AttributeRequest request
log
private org.apache.log4j.Logger log
AttributeRequester
public AttributeRequester()
- Creates a new instance of a 'Vanilla' AttributeRequester. The constructor
also configures opensaml for internal 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
- Throws:
BaseException
setRequest
public void setRequest(Request req)
throws BaseException
- Throws:
BaseException