Enum AllowAccessMode

    • Enum Constant Detail

      • CURRENT_OR_ANCESTORS

        public static final AllowAccessMode CURRENT_OR_ANCESTORS
        The user can access from the current configuration URL or any ancestor (default)
      • CURRENT_ONLY

        public static final AllowAccessMode CURRENT_ONLY
        The user can access only from the current configuration URL
      • ANY

        public static final AllowAccessMode ANY
        The user can access from any URL
    • Method Detail

      • values

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

        public static AllowAccessMode 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