|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.geant.edugain.base.Request
net.geant.edugain.base.AttributeRequest
public class AttributeRequest
A request for attributes pertaining to a certain subject. It must contain the handle corresponding to the subject, a list of attribute identifiers requested, and a resource/service identifier.
This class extends Request.
| Field Summary | |
|---|---|
protected java.util.ArrayList<java.lang.String> |
attributeNameList
A list of the attribute names whose values are requested. |
protected java.lang.String |
homeSite
The home site of the user where the request is going to be solved. |
private org.apache.log4j.Logger |
log
|
protected java.net.URI |
referred
The URI from where the requester has been redirected to this service. |
protected java.lang.String |
subjectHandle
The identification string obtained upon the last successful authentication of the subject requesting access to the resource. |
| Fields inherited from class net.geant.edugain.base.Request |
|---|
cacheReference, consumerId, producerId, requestID, resource |
| Constructor Summary | |
|---|---|
AttributeRequest()
Creates a new instance of AttributeRequest |
|
AttributeRequest(org.opensaml.SAMLRequest req)
Creates a new instance of AttributeRequest and fills
it with a SAMLRequest. |
|
| Method Summary | |
|---|---|
void |
fromSAML(org.opensaml.SAMLRequest req)
Fill this AttributeRequest from a SAMLRequest. |
java.util.ArrayList<java.lang.String> |
getAttributeNameList()
Get values for the AttributeNameList |
java.lang.String |
getHomeSite()
Gets the value of the HomeSite |
java.net.URI |
getReferred()
Gets the URI from where the requester was redirected to this service |
java.lang.String |
getSubjectHandle()
Gets the value of the SubjectHandle |
void |
setAttributeNameList(java.util.ArrayList<java.lang.String> list)
Set values for the AttributeNameList |
void |
setHomeSite(java.lang.String homesite)
Sets the HomeSite |
void |
setReferred(java.net.URI ref)
Sets the URI from where the requester was redirected to this service |
void |
setSubjectHandle(java.lang.String handle)
Sets the subject handle |
org.opensaml.SAMLRequest |
toSAML()
Converts the eduGAIN AttributeRequest object into a SAMLRequest object |
| Methods inherited from class net.geant.edugain.base.Request |
|---|
generateRequestID, getCacheReference, getConsumerId, getIssued, getProducerId, getRequestID, getResource, getValidatedTrust, setCacheReference, setConsumerId, setIssued, setProducerId, setRequestID, setRequestID, setResource, setValidatedTrust |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String subjectHandle
protected java.util.ArrayList<java.lang.String> attributeNameList
protected java.lang.String homeSite
private org.apache.log4j.Logger log
protected java.net.URI referred
| Constructor Detail |
|---|
public AttributeRequest()
public AttributeRequest(org.opensaml.SAMLRequest req)
AttributeRequest and fills
it with a SAMLRequest.
| Method Detail |
|---|
public void setSubjectHandle(java.lang.String handle)
public java.lang.String getSubjectHandle()
public void setAttributeNameList(java.util.ArrayList<java.lang.String> list)
AttributeNameList
public java.util.ArrayList<java.lang.String> getAttributeNameList()
AttributeNameList
public void setHomeSite(java.lang.String homesite)
public java.lang.String getHomeSite()
public void setReferred(java.net.URI ref)
public java.net.URI getReferred()
public void fromSAML(org.opensaml.SAMLRequest req)
throws BaseException
AttributeRequest from a SAMLRequest.
req - The SAMLRequest
BaseException
public org.opensaml.SAMLRequest toSAML()
throws BaseException
BaseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||