Package swiss.trustbroker.sso.dto
Record Class SloResponseParameters
java.lang.Object
java.lang.Record
swiss.trustbroker.sso.dto.SloResponseParameters
- Record Components:
velocityParameters- parameters for Velocity SLO templateuseHttpGet- use HTTP GET for responseredirectUrl- if not null, a redirect to this URL can be performed instead of rendering the Velocity template (for OIDC)
public record SloResponseParameters(Map<String,Object> velocityParameters, boolean useHttpGet, String redirectUrl)
extends Record
Contains parameters required for rendering an SLO Logout response.
-
Constructor Summary
ConstructorsConstructorDescriptionSloResponseParameters(Map<String, Object> velocityParameters, boolean useHttpGet, String redirectUrl) Creates an instance of aSloResponseParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theredirectUrlrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseHttpGetrecord component.Returns the value of thevelocityParametersrecord component.
-
Constructor Details
-
SloResponseParameters
public SloResponseParameters(Map<String, Object> velocityParameters, boolean useHttpGet, String redirectUrl) Creates an instance of aSloResponseParametersrecord class.- Parameters:
velocityParameters- the value for thevelocityParametersrecord componentuseHttpGet- the value for theuseHttpGetrecord componentredirectUrl- the value for theredirectUrlrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
velocityParameters
Returns the value of thevelocityParametersrecord component.- Returns:
- the value of the
velocityParametersrecord component
-
useHttpGet
public boolean useHttpGet()Returns the value of theuseHttpGetrecord component.- Returns:
- the value of the
useHttpGetrecord component
-
redirectUrl
Returns the value of theredirectUrlrecord component.- Returns:
- the value of the
redirectUrlrecord component
-