Enum RegistrationDestination
- java.lang.Object
-
- java.lang.Enum<RegistrationDestination>
-
- org.forgerock.openam.selfservice.config.beans.RegistrationDestination
-
- All Implemented Interfaces:
Serializable
,Comparable<RegistrationDestination>
public enum RegistrationDestination extends Enum<RegistrationDestination>
Registration destination enum.- Since:
- 13.5.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_LOGIN
Auto login automatically authenticates the user.DEFAULT
Default displays a successful registration message.LOGIN
Login takes the user to the login page.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegistrationDestination
valueOf(String name)
Returns the enum constant of this type with the specified name.static RegistrationDestination[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final RegistrationDestination DEFAULT
Default displays a successful registration message.
-
LOGIN
public static final RegistrationDestination LOGIN
Login takes the user to the login page.
-
AUTO_LOGIN
public static final RegistrationDestination AUTO_LOGIN
Auto login automatically authenticates the user.
-
-
Method Detail
-
values
public static RegistrationDestination[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RegistrationDestination c : RegistrationDestination.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegistrationDestination valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-