Class AuthenticationCookie

    • Constructor Detail

      • AuthenticationCookie

        public AuthenticationCookie()
    • Method Detail

      • getExpirationDate

        public java.util.Date getExpirationDate()
        Retrieve the expiration date that was intially computed when the Authentication cookie was sent.

        This date is informative and is used for automatic purge of expired cookies.
        However it may not be completely accurate if any max age configuration is changed, either globally for site settings or for the Member (though its groups).

        Returns:
        the Date at which the cookie is considered expired, may return null
      • setExpirationDate

        public void setExpirationDate​(java.util.Date expirationDate)
        Set the expiration date of this CookieAuthentication.
        Parameters:
        expirationDate - a Date after which this CookieAuthentication can be deleted/purged.