Interface CrowdRememberMeConfiguration
- All Known Implementing Classes:
CrowdRememberMeConfigurationImpl
public interface CrowdRememberMeConfiguration
Configuration for Crowd Remember me functionality
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns max cookie age in ms.Gets remember me cookie namegetCookiePath
(javax.servlet.http.HttpServletRequest httpServletRequest) Path to be configured in the cookielong
Returns max grace period after a remember-me token has been claimedboolean
isCookieHttpOnly
(javax.servlet.http.HttpServletRequest httpServletRequest) Is the cookie http onlyvoid
saveConfiguration
(CrowdSpecificRememberMeSettings configuration) Stores passed configuration
-
Method Details
-
getCookieName
String getCookieName()Gets remember me cookie name -
getCookieMaxAgeInMillis
long getCookieMaxAgeInMillis()Returns max cookie age in ms. -
getGracePeriodInMillis
long getGracePeriodInMillis()Returns max grace period after a remember-me token has been claimed -
getCookiePath
Path to be configured in the cookie -
isCookieHttpOnly
boolean isCookieHttpOnly(javax.servlet.http.HttpServletRequest httpServletRequest) Is the cookie http only -
saveConfiguration
Stores passed configuration- Parameters:
configuration
- new configuration
-
getConfiguration
CrowdSpecificRememberMeSettings getConfiguration()- Returns:
- Current Remember Me configuration
-