public interface ILightResponse extends Serializable
This interface is a Data Transfer Object (DTO) exchanged between the eIDAS protocol and the specific protocol.
Modifier and Type | Method and Description |
---|---|
ImmutableAttributeMap |
getAttributes()
Returns the response attributes if the response is a success response , or an empty map if the response is a
failure response, never
null . |
String |
getConsent()
Returns the consent URI of this response.
|
String |
getId()
Returns the response ID.
|
String |
getInResponseToId()
Returns the ID of the request corresponding to this response.
|
String |
getIPAddress()
Returns the IP address of the connected end-user.
|
String |
getIssuer()
Returns the issuer URI of this response.
|
String |
getLevelOfAssurance()
Returns the level of assurance (LoA) in the authentication performed for this response, or
null if the
response is a failure response. |
String |
getRelayState()
Returns the the RelayState (to be) sent with Response with the proper binding
|
IResponseStatus |
getStatus()
The status of the response.
|
String |
getSubject()
Returns the Subject of this response, the assertion is issued for.
|
String |
getSubjectNameIdFormat()
Returns the NameID format of the Subject of the assertion.
|
@Nonnull ImmutableAttributeMap getAttributes()
null
.null
.String getRelayState()
@Nullable String getIPAddress()
@Nonnull String getId()
This is a unique ID which must be used to prevent replay attacks.
@Nonnull String getInResponseToId()
This is the unique ID of the request which permits to correlate this response to the originating request.
@Nonnull String getIssuer()
@Nonnull String getConsent()
@Nonnull String getSubject()
@Nullable String getSubjectNameIdFormat()
@Nullable String getLevelOfAssurance()
null
if the
response is a failure response.null
if the
response is a failure response.@Nonnull IResponseStatus getStatus()
This allows to determine whether this response is a success or a failure response and optionally to have more detailed status messages.
Copyright © 2020. All Rights Reserved.