Record Class Saml2UserAuthentication.AuthenticationInfoTrack.AuthnUse
java.lang.Object
java.lang.Record
se.swedenconnect.spring.saml.idp.authentication.Saml2UserAuthentication.AuthenticationInfoTrack.AuthnUse
- All Implemented Interfaces:
Serializable
- Enclosing class:
Saml2UserAuthentication.AuthenticationInfoTrack
public static record Saml2UserAuthentication.AuthenticationInfoTrack.AuthnUse(Instant use, String sp, String authnRequestId)
extends Record
implements Serializable
Record recording the usage time and requesting SP for an authentication.
- Author:
- Martin Lindström
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthnRequestIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.sp()Returns the value of thesprecord component.final StringtoString()Returns a string representation of this record class.use()Returns the value of theuserecord component.
-
Constructor Details
-
AuthnUse
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
use
Returns the value of theuserecord component.- Returns:
- the value of the
userecord component
-
sp
Returns the value of thesprecord component.- Returns:
- the value of the
sprecord component
-
authnRequestId
Returns the value of theauthnRequestIdrecord component.- Returns:
- the value of the
authnRequestIdrecord component
-