public class AuthenticationCookieManager
extends java.lang.Object
AuthenticationCookie| Constructor and Description | 
|---|
AuthenticationCookieManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
static AuthenticationCookie | 
createAuthenticationCookie(Member member,
                          java.lang.String digest,
                          java.util.Date expirationDate)
Create a new AuthenticationCookie in the db for the specified information 
 | 
static void | 
deleteAuthenticationCookie(Member member,
                          java.lang.String digest)
Delete AuthenticationCookie matching specified parameter. 
 | 
static void | 
deleteExpiredAuthenticationCookie()
Delete all AuthenticationCookie whose expiration date is prior to now. 
 | 
static AuthenticationCookie | 
getAuthenticationCookie(Member member,
                       java.lang.String digest)
Retrieve the AuthenticationCookie stored in DB and matching the specified criteria 
 | 
public static final AuthenticationCookie createAuthenticationCookie(Member member, java.lang.String digest, java.util.Date expirationDate)
member - the member for which AuthenticationCookie is createddigest - the cookie digest that was computedexpirationDate - a Date after which the CookieAuthentication can be deleted/purged.public static final AuthenticationCookie getAuthenticationCookie(Member member, java.lang.String digest)
member - the Member for which the cookie has been emitteddigest - the digest of the cookiepublic static void deleteAuthenticationCookie(Member member, java.lang.String digest)
Parameters are all required, no operation is performed if any of them are null or empty.
member - the member for which AuthenticationCookie was emitted.digest - the digest of the cookie that was emitted,public static void deleteExpiredAuthenticationCookie()
Copyright © 2001-2018 Jalios SA. All Rights Reserved.