Enum UuidLocalDomain

  • All Implemented Interfaces:
    Serializable, Comparable<UuidLocalDomain>

    public enum UuidLocalDomain
    extends Enum<UuidLocalDomain>
    Local domains used to create DCE Security UUIDs.
     Local domains predefined by DCE 1.1 Authentication and Security Services (Chapter 11):
     
     - LOCAL_DOMAIN_PERSON: 0 (interpreted as POSIX UID domain);
     - LOCAL_DOMAIN_GROUP: 1 (interpreted as POSIX GID domain);
     - LOCAL_DOMAIN_ORG: 2.
     
    Source: DCE 1.1: Authentication and Security Services (Chapter 11 - domain names): https://pubs.opengroup.org/onlinepubs/9696989899/chap11.htm#tagcjh_14_05_01_01
    • Enum Constant Detail

      • LOCAL_DOMAIN_PERSON

        public static final UuidLocalDomain LOCAL_DOMAIN_PERSON
      • LOCAL_DOMAIN_GROUP

        public static final UuidLocalDomain LOCAL_DOMAIN_GROUP
    • Method Detail

      • values

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

        public static UuidLocalDomain 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
      • getValue

        public byte getValue()
      • getLocalDomain

        public static UuidLocalDomain getLocalDomain​(byte value)