Class ImmutableCrowdSpecificRememberMeSettings
java.lang.Object
com.atlassian.crowd.manager.authentication.ImmutableCrowdSpecificRememberMeSettings
- All Implemented Interfaces:
CrowdSpecificRememberMeSettings
public class ImmutableCrowdSpecificRememberMeSettings
extends Object
implements CrowdSpecificRememberMeSettings
-
Field Summary
Fields inherited from interface com.atlassian.crowd.manager.rememberme.CrowdSpecificRememberMeSettings
DEFAULT_ENABLED, DEFAULT_EXPIRATION_DURATION
-
Constructor Summary
ConstructorDescriptionImmutableCrowdSpecificRememberMeSettings
(boolean enabled, Duration expirationPeriod) -
Method Summary
-
Constructor Details
-
ImmutableCrowdSpecificRememberMeSettings
-
-
Method Details
-
isEnabled
public boolean isEnabled()Description copied from interface:CrowdSpecificRememberMeSettings
Provides information whether Remember Me functionality is Enabled at the moment- Specified by:
isEnabled
in interfaceCrowdSpecificRememberMeSettings
- Returns:
true
if Remember Me is enabled,false
otherwise
-
getExpirationDuration
- Specified by:
getExpirationDuration
in interfaceCrowdSpecificRememberMeSettings
- Returns:
Duration
after which Remember Me token should expire
-
equals
-
hashCode
public int hashCode()
-