Enum RegistrationContext.TriggeringMode
- java.lang.Object
-
- java.lang.Enum<RegistrationContext.TriggeringMode>
-
- pl.edu.icm.unity.types.registration.RegistrationContext.TriggeringMode
-
- All Implemented Interfaces:
Serializable
,Comparable<RegistrationContext.TriggeringMode>
- Enclosing class:
- RegistrationContext
public static enum RegistrationContext.TriggeringMode extends Enum<RegistrationContext.TriggeringMode>
Describes how the registration form was triggered.- Author:
- K. Benedyczak
-
-
Enum Constant Summary
Enum Constants Enum Constant Description afterRemoteLoginFromRegistrationForm
The form was submitted as a result of secondary sign up step, where a remote authentication was used to fill out registration form.afterRemoteLoginWhenUnknownUser
Form was shown after a successful remote authentication which was not mapped to a local entity by an input translation profile.manualAdmin
The form is being filled from the AdminUImanualAtLogin
User selected registration manually on one of login screensmanualStandalone
User entered a well-known registration form link
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegistrationContext.TriggeringMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static RegistrationContext.TriggeringMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
manualAtLogin
public static final RegistrationContext.TriggeringMode manualAtLogin
User selected registration manually on one of login screens
-
manualStandalone
public static final RegistrationContext.TriggeringMode manualStandalone
User entered a well-known registration form link
-
manualAdmin
public static final RegistrationContext.TriggeringMode manualAdmin
The form is being filled from the AdminUI
-
afterRemoteLoginWhenUnknownUser
public static final RegistrationContext.TriggeringMode afterRemoteLoginWhenUnknownUser
Form was shown after a successful remote authentication which was not mapped to a local entity by an input translation profile.
-
afterRemoteLoginFromRegistrationForm
public static final RegistrationContext.TriggeringMode afterRemoteLoginFromRegistrationForm
The form was submitted as a result of secondary sign up step, where a remote authentication was used to fill out registration form.
-
-
Method Detail
-
values
public static RegistrationContext.TriggeringMode[] 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 (RegistrationContext.TriggeringMode c : RegistrationContext.TriggeringMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegistrationContext.TriggeringMode 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
-
-