Package org.nuxeo.ecm.platform.auth.saml
Record Class SAMLUtils.SAMLSessionCookie
java.lang.Object
java.lang.Record
org.nuxeo.ecm.platform.auth.saml.SAMLUtils.SAMLSessionCookie
- Enclosing class:
SAMLUtils
-
Constructor Summary
ConstructorsConstructorDescriptionSAMLSessionCookie(String sessionId, String nameValue, String nameFormat) Creates an instance of aSAMLSessionCookierecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static SAMLUtils.SAMLSessionCookiefromCookie(jakarta.servlet.http.Cookie cookie) final inthashCode()Returns a hash code value for this object.Returns the value of thenameFormatrecord component.Returns the value of thenameValuerecord component.Returns the value of thesessionIdrecord component.jakarta.servlet.http.CookietoCookie(jakarta.servlet.http.HttpServletRequest request) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SAMLSessionCookie
Creates an instance of aSAMLSessionCookierecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentnameValue- the value for thenameValuerecord componentnameFormat- the value for thenameFormatrecord component
-
-
Method Details
-
toCookie
public jakarta.servlet.http.Cookie toCookie(jakarta.servlet.http.HttpServletRequest request) -
fromCookie
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
nameValue
Returns the value of thenameValuerecord component.- Returns:
- the value of the
nameValuerecord component
-
nameFormat
Returns the value of thenameFormatrecord component.- Returns:
- the value of the
nameFormatrecord component
-