Enum Class PasswordCompareStrategyType
java.lang.Object
java.lang.Enum<PasswordCompareStrategyType>
com.evolveum.midpoint.xml.ns._public.common.common_3.PasswordCompareStrategyType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<PasswordCompareStrategyType>
,Constable
public enum PasswordCompareStrategyType
extends Enum<PasswordCompareStrategyType>
implements TypeSafeEnum
The way how a resource password is compared with the current password.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordCompareStrategyType
value()
Returns enum value defined as in schema.static PasswordCompareStrategyType
Returns the enum constant of this class with the specified name.static PasswordCompareStrategyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Auto-detect comparison method. If no way of comparison is possible then an error is indicated. Note: Currently this strategy will end with an error if there is no cached password value. -
ERROR
There is no way to compare password. Any operation to that tries to compare the password on the resource should end up with an error. -
CACHED
Compare password with the value cached in the shadow. This setting assumes that passwords for all accounts are properly cached. Therefore if there is no password value in the shadow then we assume that there is no resource password.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-