Package de.adrianlange.mcd.model
Enum Authentication
- java.lang.Object
-
- java.lang.Enum<Authentication>
-
- de.adrianlange.mcd.model.Authentication
-
- All Implemented Interfaces:
Serializable,Comparable<Authentication>
public enum Authentication extends Enum<Authentication>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_IP_ADDRESSGSSAPINONENTLMOAUTH2PASSWORD_CLEARTEXTPASSWORD_ENCRYPTEDTLS_CLIENT_CERT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Authenticationparse(String a)static AuthenticationvalueOf(String name)Returns the enum constant of this type with the specified name.static Authentication[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD_CLEARTEXT
public static final Authentication PASSWORD_CLEARTEXT
-
PASSWORD_ENCRYPTED
public static final Authentication PASSWORD_ENCRYPTED
-
NTLM
public static final Authentication NTLM
-
GSSAPI
public static final Authentication GSSAPI
-
CLIENT_IP_ADDRESS
public static final Authentication CLIENT_IP_ADDRESS
-
TLS_CLIENT_CERT
public static final Authentication TLS_CLIENT_CERT
-
OAUTH2
public static final Authentication OAUTH2
-
NONE
public static final Authentication NONE
-
-
Method Detail
-
values
public static Authentication[] 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 (Authentication c : Authentication.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Authentication 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
-
parse
public static Authentication parse(String a)
-
-