|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.geant.edugain.base.Response
net.geant.edugain.base.AttributeResponse
public class AttributeResponse
A response containing attributes according to a previously issued AttributeRequest. It must contain a list of
attribute/value(s) pairs and/or reasons for not disclosing certain values or
attributes, according to service and privacy policies.
This class extends Response.
| Field Summary | |
|---|---|
protected java.util.ArrayList<AttributeValues> |
attributeValues
A list of elements, each of them corresponding to one attribute that the identity source is willing to deliver upon successful authentication. |
private org.apache.log4j.Logger |
log
|
protected java.lang.String |
subjectHandle
The identification string obtained upon the last successful authentication of the subject requesting access to the resource. |
| Constructor Summary | |
|---|---|
AttributeResponse()
Creates a new instance of AttributeResponse |
|
| Method Summary | |
|---|---|
void |
fromSAML(org.opensaml.SAMLResponse response)
Feeds this object from an String containing a SAML response. |
java.util.ArrayList<AttributeValues> |
getAttributeValueList()
Gets the list of attribute-value pairs |
java.lang.String |
getSubjectHandle()
Gets the value of the SubjectHandle |
void |
setAttributeValueList(java.util.ArrayList<AttributeValues> attributeValueList)
Sets the list of attribute-value pairs |
void |
setSubjectHandle(java.lang.String handle)
Sets the subject handle |
org.opensaml.SAMLResponse |
toSAML()
Converts this response object into a SAML response |
| Methods inherited from class net.geant.edugain.base.Response |
|---|
fromInputStream, generateResponseID, getAdditionalData, getConsumerId, getInResponseTo, getInterfaces, getIssued, getNotBefore, getNotOnOrAfter, getProducerId, getResponseID, getResult, getResultMessage, getSigningProperties, getValidatedTrust, setAdditionalData, setConsumerId, setInResponseTo, setInterfaces, setIssued, setNotBefore, setNotOnOrAfter, setProducerId, setResponseID, setResponseID, setResult, setResultMessage, setSigningProperties, setValidatedTrust, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String subjectHandle
protected java.util.ArrayList<AttributeValues> attributeValues
private org.apache.log4j.Logger log
| Constructor Detail |
|---|
public AttributeResponse()
| Method Detail |
|---|
public void setSubjectHandle(java.lang.String handle)
public java.lang.String getSubjectHandle()
public java.util.ArrayList<AttributeValues> getAttributeValueList()
public void setAttributeValueList(java.util.ArrayList<AttributeValues> attributeValueList)
public void fromSAML(org.opensaml.SAMLResponse response)
throws BaseException
BaseException
public org.opensaml.SAMLResponse toSAML()
throws BaseException
BaseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||