public abstract class AbstractAuthenticationResponse extends Object implements IAuthenticationResponse, Serializable
IAuthenticationResponse
interface.
This class uses the Builder Pattern.
Implementors of the IAuthenticationResponse
should extend this class and its Builder.
Modifier and Type | Class and Description |
---|---|
static class |
AbstractAuthenticationResponse.AbstractBuilder<B extends AbstractAuthenticationResponse.AbstractBuilder<B,T>,T extends IAuthenticationResponse>
Abstract Builder pattern with self-bounding generics for
IAuthenticationResponse subtypes. |
Modifier | Constructor and Description |
---|---|
protected |
AbstractAuthenticationResponse(AbstractAuthenticationResponse.AbstractBuilder<?,?> builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
eu.eidas.auth.commons.attribute.ImmutableAttributeMap |
getAttributes()
Getter for the attribute map.
|
String |
getAudienceRestriction()
Getter for audienceRestriction.
|
String |
getConsent() |
String |
getCountry()
Getter for the country name.
|
String |
getId()
Getter for the samlId value.
|
String |
getInResponseToId()
Getter for the inResponseTo value.
|
String |
getIPAddress() |
String |
getIssuer() |
String |
getLevelOfAssurance() |
eu.eidas.auth.commons.light.ILightResponse |
getLightResponse() |
org.joda.time.DateTime |
getNotBefore()
Getter for the notBefore value.
|
org.joda.time.DateTime |
getNotOnOrAfter()
Getter for the notOnOrAfter value.
|
String |
getRelayState()
Getter for the relayState value.
|
eu.eidas.auth.commons.light.IResponseStatus |
getStatus() |
String |
getStatusCode()
Getter for the statusCode value.
|
String |
getStatusMessage()
Getter for the message value.
|
String |
getSubject() |
String |
getSubjectNameIdFormat() |
String |
getSubStatusCode()
Getter for the subStatusCode.
|
int |
hashCode() |
boolean |
isEncrypted() |
boolean |
isFailure()
Getter for the fail value.
|
String |
toString() |
protected StringBuilder |
toString(StringBuilder stringBuilder) |
static StringBuilder |
toString(StringBuilder stringBuilder,
IAuthenticationResponse response) |
protected AbstractAuthenticationResponse(@Nonnull AbstractAuthenticationResponse.AbstractBuilder<?,?> builder)
public final String getSubStatusCode()
getSubStatusCode
in interface eu.eidas.auth.commons.light.IResponseStatus
@Nonnull public final String getAudienceRestriction()
getAudienceRestriction
in interface IAuthenticationResponse
@Nonnull public final String getCountry()
getCountry
in interface IAuthenticationResponse
public final eu.eidas.auth.commons.attribute.ImmutableAttributeMap getAttributes()
getAttributes
in interface eu.eidas.auth.commons.light.ILightResponse
ImmutableAttributeMap
public final String getInResponseToId()
getInResponseToId
in interface eu.eidas.auth.commons.light.ILightResponse
public final boolean isFailure()
isFailure
in interface eu.eidas.auth.commons.light.IResponseStatus
public final String getStatusMessage()
getStatusMessage
in interface eu.eidas.auth.commons.light.IResponseStatus
public final String getStatusCode()
getStatusCode
in interface eu.eidas.auth.commons.light.IResponseStatus
@Nonnull public final String getId()
getId
in interface eu.eidas.auth.commons.light.ILightResponse
@Nullable public String getRelayState()
getRelayState
in interface eu.eidas.auth.commons.light.ILightResponse
@Nonnull public final org.joda.time.DateTime getNotOnOrAfter()
getNotOnOrAfter
in interface IAuthenticationResponse
DateTime
@Nonnull public final org.joda.time.DateTime getNotBefore()
getNotBefore
in interface IAuthenticationResponse
DateTime
@Nullable public final String getLevelOfAssurance()
getLevelOfAssurance
in interface eu.eidas.auth.commons.light.ILightResponse
@Nonnull public final eu.eidas.auth.commons.light.ILightResponse getLightResponse()
@Nonnull public final eu.eidas.auth.commons.light.IResponseStatus getStatus()
getStatus
in interface eu.eidas.auth.commons.light.ILightResponse
@Nonnull public String getIssuer()
getIssuer
in interface eu.eidas.auth.commons.light.ILightResponse
@Nonnull public String getConsent()
getConsent
in interface eu.eidas.auth.commons.light.ILightResponse
@Nullable public String getSubject()
getSubject
in interface eu.eidas.auth.commons.light.ILightResponse
@Nullable public String getSubjectNameIdFormat()
getSubjectNameIdFormat
in interface eu.eidas.auth.commons.light.ILightResponse
public boolean isEncrypted()
isEncrypted
in interface IAuthenticationResponse
@Nullable public String getIPAddress()
getIPAddress
in interface eu.eidas.auth.commons.light.ILightResponse
protected StringBuilder toString(@Nonnull StringBuilder stringBuilder)
public static StringBuilder toString(@Nonnull StringBuilder stringBuilder, @Nonnull IAuthenticationResponse response)
Copyright © 2020. All Rights Reserved.