Enum PasswordCompareStrategyType

  • All Implemented Interfaces:
    Serializable, Comparable<PasswordCompareStrategyType>

    public enum PasswordCompareStrategyType
    extends Enum<PasswordCompareStrategyType>

    Java class for PasswordCompareStrategyType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="PasswordCompareStrategyType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="auto"/>
         <enumeration value="error"/>
         <enumeration value="cached"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • 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 Detail

      • values

        public static PasswordCompareStrategyType[] 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 (PasswordCompareStrategyType c : PasswordCompareStrategyType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public String value()