Class UserCookieData
java.lang.Object
org.deltava.security.SecurityCookieData
org.deltava.security.UserCookieData
- All Implemented Interfaces:
Serializable
A bean containing data stored in the User Token cookie.
- Since:
- 12.4
- Version:
- 12.4
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the user's given name.Returns the user's family name.Methods inherited from class SecurityCookieData
getExpiryDate, getLoginDate, getRemoteAddr, getSignatureAlgorithm, getUserID, hashCode, isExpired, setExpiryDate, setLoginDate, setRemoteAddr, setSignatureAlgorithm, toStringModifier and TypeMethodDescriptionReturns the expiration date of the cookie.Returns the login date.Returns the remote address of the user.Returns the encrypted cookie signature algorithm name.Retrieves the user ID from this security cookie.inthashCode()booleanChecks if the security cookie has expired.voidsetExpiryDate(Instant dt) Sets the expiry date of the security cookie.voidsetLoginDate(Instant dt) Sets the login date.voidsetRemoteAddr(String remoteAddr) Updates the user's IP address.voidUpdates the signature algorithm for the encrypted cookie.toString()
-
Constructor Details
-
UserCookieData
-
-
Method Details
-
getFirstName
-
getLastName
-