public class CrowdRememberMeConfigurationImpl extends Object implements CrowdRememberMeConfiguration
Constructor and Description |
---|
CrowdRememberMeConfigurationImpl(InternalPropertyManager propertyManager) |
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
|
public CrowdRememberMeConfigurationImpl(InternalPropertyManager propertyManager)
public String getCookieName()
CrowdRememberMeConfiguration
getCookieName
in interface CrowdRememberMeConfiguration
public long getCookieMaxAgeInMillis()
CrowdRememberMeConfiguration
getCookieMaxAgeInMillis
in interface CrowdRememberMeConfiguration
public long getGracePeriodInMillis()
CrowdRememberMeConfiguration
getGracePeriodInMillis
in interface CrowdRememberMeConfiguration
public String getCookiePath(javax.servlet.http.HttpServletRequest httpServletRequest)
CrowdRememberMeConfiguration
getCookiePath
in interface CrowdRememberMeConfiguration
public boolean isCookieHttpOnly(javax.servlet.http.HttpServletRequest httpServletRequest)
CrowdRememberMeConfiguration
isCookieHttpOnly
in interface CrowdRememberMeConfiguration
public void saveConfiguration(CrowdSpecificRememberMeSettings configuration)
CrowdRememberMeConfiguration
saveConfiguration
in interface CrowdRememberMeConfiguration
configuration
- new configurationpublic CrowdSpecificRememberMeSettings getConfiguration()
getConfiguration
in interface CrowdRememberMeConfiguration
Copyright © 2021 Atlassian. All rights reserved.