public enum RememberMeMode extends Enum<RememberMeMode>
Enum Constant and Description |
---|
ALWAYS
Remember-me authentication is enabled and always performed on form-based login.
|
NEVER
Remember-me authentication is disabled.
|
OPTIONAL
Remember-me authentication is enabled but only performed when a user checks the 'Remember my login' checkbox on
the login form.
|
Modifier and Type | Method and Description |
---|---|
static RememberMeMode |
fromId(String id) |
String |
getId() |
static RememberMeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RememberMeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RememberMeMode ALWAYS
public static final RememberMeMode OPTIONAL
public static final RememberMeMode NEVER
public static RememberMeMode[] values()
for (RememberMeMode c : RememberMeMode.values()) System.out.println(c);
public static RememberMeMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public static RememberMeMode fromId(@Nonnull String id)
Copyright © 2022 Atlassian. All rights reserved.