Class SAML2ResponseData
- java.lang.Object
-
- org.forgerock.openam.authentication.modules.saml2.SAML2ResponseData
-
public class SAML2ResponseData extends Object
Response data from SAML2 IDP, combined here for ease of access.
-
-
Constructor Summary
Constructors Constructor Description SAML2ResponseData()
Dummy creator, used by databinder to generate this POJO.SAML2ResponseData(String sessionIndex, Subject subject, Assertion assertion, ResponseInfo responseInfo)
Combine a new set of SAML2 response data as a single object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Assertion
getAssertion()
Get the assertion.ResponseInfo
getResponseInfo()
Get the response info.String
getSessionIndex()
Get the session index.Subject
getSubject()
Get the subject.void
setAssertion(Assertion assertion)
Sets the assertion.void
setResponseInfo(ResponseInfo responseInfo)
Sets the responseInfo value.void
setSessionIndex(String sessionIndex)
Sets the sessionIndex value.void
setSubject(Subject subject)
Sets the subject value.
-
-
-
Constructor Detail
-
SAML2ResponseData
public SAML2ResponseData()
Dummy creator, used by databinder to generate this POJO.
-
SAML2ResponseData
public SAML2ResponseData(String sessionIndex, Subject subject, Assertion assertion, ResponseInfo responseInfo)
Combine a new set of SAML2 response data as a single object.- Parameters:
sessionIndex
- Session index used for this authentication.subject
- Subject about whom this authentication provides information.assertion
- Assertion for this subject's authentication.responseInfo
- Response Information pertaining to the authentication.
-
-
Method Detail
-
setSubject
public void setSubject(Subject subject)
Sets the subject value.- Parameters:
subject
- value of the subject.
-
setAssertion
public void setAssertion(Assertion assertion)
Sets the assertion.- Parameters:
assertion
- value of the assertion.
-
setSessionIndex
public void setSessionIndex(String sessionIndex)
Sets the sessionIndex value.- Parameters:
sessionIndex
- value of the sessionIndex.
-
setResponseInfo
public void setResponseInfo(ResponseInfo responseInfo)
Sets the responseInfo value.- Parameters:
responseInfo
- value of the responseInfo.
-
getSubject
public Subject getSubject()
Get the subject. Will not be null.- Returns:
- the subject.
-
getAssertion
public Assertion getAssertion()
Get the assertion. Will not be null.- Returns:
- the assertion.
-
getSessionIndex
public String getSessionIndex()
Get the session index. Will not be null.- Returns:
- the session index.
-
getResponseInfo
public ResponseInfo getResponseInfo()
Get the response info. Will not be null.- Returns:
- the response info.
-
-