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
ConstructorDescriptionSAMLSessionCookie
(String sessionId, String nameValue, String nameFormat) Creates an instance of aSAMLSessionCookie
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.static SAMLUtils.SAMLSessionCookie
fromCookie
(javax.servlet.http.Cookie cookie) final int
hashCode()
Returns a hash code value for this object.Returns the value of thenameFormat
record component.Returns the value of thenameValue
record component.Returns the value of thesessionId
record component.javax.servlet.http.Cookie
toCookie
(javax.servlet.http.HttpServletRequest request) final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SAMLSessionCookie
Creates an instance of aSAMLSessionCookie
record class.- Parameters:
sessionId
- the value for thesessionId
record componentnameValue
- the value for thenameValue
record componentnameFormat
- the value for thenameFormat
record component
-
-
Method Details
-
toCookie
public javax.servlet.http.Cookie toCookie(javax.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 thesessionId
record component.- Returns:
- the value of the
sessionId
record component
-
nameValue
Returns the value of thenameValue
record component.- Returns:
- the value of the
nameValue
record component
-
nameFormat
Returns the value of thenameFormat
record component.- Returns:
- the value of the
nameFormat
record component
-