Interface ResponseProcessingResult
-
- All Known Implementing Classes:
ResponseProcessingResultImpl
public interface ResponseProcessingResultInterface that describes the result of a response processing operation. It contains the actualAssertionthat 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.lindstrom@litsec.se)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssertiongetAssertion()Returns theAssertionfrom the response.List<Attribute>getAttributes()Returns the attributes that are part of the attribute statement of the assertion.StringgetAuthnContextClassUri()Returns the URI for theAuthnContextClassRefelement that holds the "level of assurance" under which the authentication was made.InstantgetAuthnInstant()Returns the authentication instant.StringgetIssuer()Returns the entityID of the issuing IdP.NameIDgetSubjectNameID()Returns theNameIDfor the subject.
-
-
-
Method Detail
-
getAssertion
Assertion getAssertion()
Returns theAssertionfrom the response.- Returns:
- the
Assertion
-
getAttributes
List<Attribute> getAttributes()
Returns the attributes that are part of the attribute statement of the assertion.- Returns:
- an (unmodifiable) list of attributes
-
getAuthnContextClassUri
String getAuthnContextClassUri()
Returns the URI for theAuthnContextClassRefelement that holds the "level of assurance" under which the authentication was made.- Returns:
- LoA URI
-
getAuthnInstant
Instant getAuthnInstant()
Returns the authentication instant.- Returns:
- the instant at which the user authenticated
-
getIssuer
String getIssuer()
Returns the entityID of the issuing IdP.- Returns:
- entityID for the IdP
-
getSubjectNameID
NameID getSubjectNameID()
Returns theNameIDfor the subject.- Returns:
- the nameID
-
-