Enum CredentialsResetTypeType
- java.lang.Object
-
- java.lang.Enum<CredentialsResetTypeType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialsResetTypeType
-
- All Implemented Interfaces:
Serializable
,Comparable<CredentialsResetTypeType>
public enum CredentialsResetTypeType extends Enum<CredentialsResetTypeType>
Java class for CredentialsResetTypeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CredentialsResetTypeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="none"/> <enumeration value="mail"/> <enumeration value="sms"/> <enumeration value="securityQuestions"/> <enumeration value="securityQuestionsWithEmail"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAIL
Use security questions to reset the credential.NONE
Credential reset is disabled.SECURITY_QUESTIONS
Use security questions to reset the credential.SECURITY_QUESTIONS_EMAIL
Use security questions to reset the credential.SMS
Use security questions to reset the credential.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialsResetTypeType
fromValue(String v)
String
value()
static CredentialsResetTypeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CredentialsResetTypeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CredentialsResetTypeType NONE
Credential reset is disabled.
-
MAIL
public static final CredentialsResetTypeType MAIL
Use security questions to reset the credential.
-
SMS
public static final CredentialsResetTypeType SMS
Use security questions to reset the credential.
-
SECURITY_QUESTIONS
public static final CredentialsResetTypeType SECURITY_QUESTIONS
Use security questions to reset the credential.
-
SECURITY_QUESTIONS_EMAIL
public static final CredentialsResetTypeType SECURITY_QUESTIONS_EMAIL
Use security questions to reset the credential.
-
-
Method Detail
-
values
public static CredentialsResetTypeType[] 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 (CredentialsResetTypeType c : CredentialsResetTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialsResetTypeType 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
-
value
public String value()
-
fromValue
public static CredentialsResetTypeType fromValue(String v)
-
-