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.
  • Enum Constant Details

    • AUTO

      public static final PasswordCompareStrategyType 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

      public static final PasswordCompareStrategyType 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

      public static final PasswordCompareStrategyType 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

      public static PasswordCompareStrategyType[] 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

      public static PasswordCompareStrategyType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static PasswordCompareStrategyType fromValue(String v)