Enum UserIdentityProviderStatus
- java.lang.Object
-
- java.lang.Enum<UserIdentityProviderStatus>
-
- org.cyclos.model.access.useridentityproviders.UserIdentityProviderStatus
-
- All Implemented Interfaces:
Serializable,Comparable<UserIdentityProviderStatus>
public enum UserIdentityProviderStatus extends Enum<UserIdentityProviderStatus>
Possible statuses for the relation between a user and an identity provider
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDThe identity provider is disabled for the user, which means that the login with external provider will not work even if the user has the same e-mail address in the provider and in Cyclos.LINKEDThe identity provider is linked to the userNOT_LINKEDThe identity provider is not currently linked with the user
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserIdentityProviderStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static UserIdentityProviderStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_LINKED
public static final UserIdentityProviderStatus NOT_LINKED
The identity provider is not currently linked with the user
-
LINKED
public static final UserIdentityProviderStatus LINKED
The identity provider is linked to the user
-
DISABLED
public static final UserIdentityProviderStatus DISABLED
The identity provider is disabled for the user, which means that the login with external provider will not work even if the user has the same e-mail address in the provider and in Cyclos.
-
-
Method Detail
-
values
public static UserIdentityProviderStatus[] 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 (UserIdentityProviderStatus c : UserIdentityProviderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserIdentityProviderStatus 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
-
-