Class ResponseProcessingResultImpl
java.lang.Object
se.swedenconnect.opensaml.saml2.response.ResponseProcessingResultImpl
- All Implemented Interfaces:
ResponseProcessingResult
Implementation of the
ResponseProcessingResult interface.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
ConstructorsConstructorDescriptionResponseProcessingResultImpl(Response response, Assertion assertion) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets theAssertionfrom the response.Gets the attributes that are part of the attribute statement of the assertion.Gets the URI for theAuthnContextClassRefelement that holds the "level of assurance" under which the authentication was made.Gets the authentication instant.Gets theInResponseToattribute from the response that was processed.Gets the issuance instant of the response.Gets the entityID of the issuing IdP.Gets the actualResponseobject.Gets the ID of theResponsemessage that was processed.Gets theNameIDfor the subject.
-
Constructor Details
-
ResponseProcessingResultImpl
Constructor.- Parameters:
response- the Responseassertion- the Assertion
-
-
Method Details
-
getResponse
Gets the actualResponseobject.- Specified by:
getResponsein interfaceResponseProcessingResult- Returns:
- the
Response
-
getResponseId
Gets the ID of theResponsemessage that was processed.- Specified by:
getResponseIdin interfaceResponseProcessingResult- Returns:
- ID of response
-
getInResponseTo
Gets theInResponseToattribute from the response that was processed.- Specified by:
getInResponseToin interfaceResponseProcessingResult- Returns:
- the InResponseTo attribute from the response
-
getIssueInstant
Gets the issuance instant of the response.- Specified by:
getIssueInstantin interfaceResponseProcessingResult- Returns:
- issue instant
-
getAssertion
Gets theAssertionfrom the response.- Specified by:
getAssertionin interfaceResponseProcessingResult- Returns:
- the Assertion
-
getAttributes
Gets the attributes that are part of the attribute statement of the assertion.- Specified by:
getAttributesin interfaceResponseProcessingResult- Returns:
- an (unmodifiable) list of attributes
-
getAuthnContextClassUri
Gets the URI for theAuthnContextClassRefelement that holds the "level of assurance" under which the authentication was made.- Specified by:
getAuthnContextClassUriin interfaceResponseProcessingResult- Returns:
- LoA URI
-
getAuthnInstant
Gets the authentication instant.- Specified by:
getAuthnInstantin interfaceResponseProcessingResult- Returns:
- the instant at which the user authenticated
-
getIssuer
Gets the entityID of the issuing IdP.- Specified by:
getIssuerin interfaceResponseProcessingResult- Returns:
- entityID for the IdP
-
getSubjectNameID
Gets theNameIDfor the subject.- Specified by:
getSubjectNameIDin interfaceResponseProcessingResult- Returns:
- the nameID
-