Enum AuthType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AuthType>

    @ThreadSafe
    public enum AuthType
    extends java.lang.Enum<AuthType>
    Different authentication types for Alluxio.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CUSTOM
      User is aware in Alluxio.
      KERBEROS
      User is aware in Alluxio.
      NOSASL
      Authentication is disabled.
      OIDC
      The OIDC way to authenticate.
      SECURITYSERVICETOKEN
      Security service token is generated and used internally.
      SIMPLE
      User is aware in Alluxio.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AuthType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AuthType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NOSASL

        public static final AuthType NOSASL
        Authentication is disabled. No user info in Alluxio.
      • SIMPLE

        public static final AuthType SIMPLE
        User is aware in Alluxio. On the client side, the login username is determined by the "alluxio.security.login.username" property, or the OS user upon failure. On the server side, the verification of client user is disabled.
      • CUSTOM

        public static final AuthType CUSTOM
        User is aware in Alluxio. On the client side, the login username is determined by the "alluxio.security.login.username" property, or the OS user upon failure. On the server side, the user is verified by a Custom authentication provider (Specified by property "alluxio.security.authentication.custom.provider.class").
      • KERBEROS

        public static final AuthType KERBEROS
        User is aware in Alluxio. The user is verified by Kerberos authentication. NOTE: this authentication is not supported.
      • OIDC

        public static final AuthType OIDC
        The OIDC way to authenticate.
      • SECURITYSERVICETOKEN

        public static final AuthType SECURITYSERVICETOKEN
        Security service token is generated and used internally.
    • Method Detail

      • values

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

        public static AuthType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null