public interface CrowdRememberMeConfiguration
Modifier and Type | Method and Description |
---|---|
CrowdSpecificRememberMeSettings |
getConfiguration() |
long |
getCookieMaxAgeInMillis()
Returns max cookie age in ms.
|
String |
getCookieName()
Gets remember me cookie name
|
String |
getCookiePath(javax.servlet.http.HttpServletRequest httpServletRequest)
Path to be configured in the cookie
|
long |
getGracePeriodInMillis()
Returns max grace period after a remember-me token has been claimed
|
boolean |
isCookieHttpOnly(javax.servlet.http.HttpServletRequest httpServletRequest)
Is the cookie http only
|
void |
saveConfiguration(CrowdSpecificRememberMeSettings configuration)
Stores passed configuration
|
String getCookieName()
long getCookieMaxAgeInMillis()
long getGracePeriodInMillis()
String getCookiePath(javax.servlet.http.HttpServletRequest httpServletRequest)
boolean isCookieHttpOnly(javax.servlet.http.HttpServletRequest httpServletRequest)
void saveConfiguration(CrowdSpecificRememberMeSettings configuration)
configuration
- new configurationCrowdSpecificRememberMeSettings getConfiguration()
Copyright © 2021 Atlassian. All rights reserved.