Package com.suse.salt.netapi
Enum AuthModule
- java.lang.Object
-
- java.lang.Enum<AuthModule>
-
- com.suse.salt.netapi.AuthModule
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthModule>
public enum AuthModule extends Enum<AuthModule>
Salt authentication modules.- See Also:
- Modules
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static AuthModule
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthModule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final AuthModule AUTO
-
DJANGO
public static final AuthModule DJANGO
-
KEYSTONE
public static final AuthModule KEYSTONE
-
LDAP
public static final AuthModule LDAP
-
MYSQL
public static final AuthModule MYSQL
-
PAM
public static final AuthModule PAM
-
PKI
public static final AuthModule PKI
-
STORMPATH_MOD
public static final AuthModule STORMPATH_MOD
-
YUBICO
public static final AuthModule YUBICO
-
-
Method Detail
-
values
public static AuthModule[] 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 (AuthModule c : AuthModule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthModule 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 nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
-