|
|||||||||
| 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.AuthenticationResponse
public class AuthenticationResponse
A response containing authentication data according to a previously issued AuthNReq. It must contain an anonymised handle to allow further attribute requests, and may contain any other attributes about the entity that originated the request, according to service and privacy policies.
This class extends Response.
| Field Summary | |
|---|---|
private java.util.ArrayList<AttributeValues> |
attributeValueList
|
private org.apache.log4j.Logger |
log
|
private java.lang.String |
subjectHandle
|
| Constructor Summary | |
|---|---|
AuthenticationResponse()
Creates a new instance of AuthenticationResponse object |
|
AuthenticationResponse(java.lang.String inresponseto)
Creates a new instance of AuthenticationResponse object in response to a given request. |
|
| Method Summary | |
|---|---|
void |
fromSAML(org.opensaml.SAMLResponse response)
Feeds this object from an String containing a SAML response. |
java.util.ArrayList<AttributeValues> |
getAttributeValueList()
Returns a list of elements, each of them corresponding to one attribute that the identity is willing to deliver upon successful authentication |
java.lang.String |
getSubjectHandle()
Returns identification string returned upon successfull authentication |
void |
setAttributeValueList(java.util.ArrayList<AttributeValues> attributeValueList)
Sets the list of elements - each of them corresponding to one attribute- that the identity is willing to deliver upon successful authentication |
void |
setSubjectHandle(java.lang.String subjectHandle)
Sets the identification string returned upon successfull authentication |
org.opensaml.SAMLResponse |
toSAML()
Converts the AuthenticationResponse 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 |
|---|
private java.util.ArrayList<AttributeValues> attributeValueList
private java.lang.String subjectHandle
private org.apache.log4j.Logger log
| Constructor Detail |
|---|
public AuthenticationResponse()
public AuthenticationResponse(java.lang.String inresponseto)
inresponseto - The Id of the request associated to this response| Method Detail |
|---|
public java.util.ArrayList<AttributeValues> getAttributeValueList()
public void setAttributeValueList(java.util.ArrayList<AttributeValues> attributeValueList)
public java.lang.String getSubjectHandle()
public void setSubjectHandle(java.lang.String subjectHandle)
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 | ||||||||