Interface ResponseProcessingResult
- All Known Implementing Classes:
ResponseProcessingResultImpl
public interface ResponseProcessingResult
Interface that describes the result of a response processing operation. It contains the actual
Response
and
Assertion
objects that really holds all information, but also "easy to access" methods of the elements that
are of most interest.
Note that only successful responses are represented. Error responses are represented using the
ResponseStatusErrorException
.
- Author:
- Martin Lindström (martin@idsec.se)
-
Method Summary
Modifier and TypeMethodDescriptionGets theAssertion
from the response.Gets the attributes that are part of the attribute statement of the assertion.Gets the URI for theAuthnContextClassRef
element that holds the "level of assurance" under which the authentication was made.Gets the authentication instant.Gets theInResponseTo
attribute from the response that was processed.Gets the issuance instant of the response.Gets the entityID of the issuing IdP.Gets the actualResponse
object.Gets the ID of theResponse
message that was processed.Gets theNameID
for the subject.
-
Method Details
-
getResponseId
String getResponseId()Gets the ID of theResponse
message that was processed.- Returns:
- ID of response
-
getInResponseTo
String getInResponseTo()Gets theInResponseTo
attribute from the response that was processed.- Returns:
- the InResponseTo attribute from the response
-
getIssueInstant
Instant getIssueInstant()Gets the issuance instant of the response.- Returns:
- issue instant
-
getResponse
Response getResponse()Gets the actualResponse
object.- Returns:
- the
Response
-
getAssertion
Assertion getAssertion()Gets theAssertion
from the response.- Returns:
- the Assertion
-
getAttributes
Gets the attributes that are part of the attribute statement of the assertion.- Returns:
- an (unmodifiable) list of attributes
-
getAuthnContextClassUri
String getAuthnContextClassUri()Gets the URI for theAuthnContextClassRef
element that holds the "level of assurance" under which the authentication was made.- Returns:
- LoA URI
-
getAuthnInstant
Instant getAuthnInstant()Gets the authentication instant.- Returns:
- the instant at which the user authenticated
-
getIssuer
String getIssuer()Gets the entityID of the issuing IdP.- Returns:
- entityID for the IdP
-
getSubjectNameID
NameID getSubjectNameID()Gets theNameID
for the subject.- Returns:
- the nameID
-