Package org.glassfish.common.util.admin
Enum AdminAuthenticator.AuthenticatorType
- java.lang.Object
-
- java.lang.Enum<AdminAuthenticator.AuthenticatorType>
-
- org.glassfish.common.util.admin.AdminAuthenticator.AuthenticatorType
-
- All Implemented Interfaces:
Serializable
,Comparable<AdminAuthenticator.AuthenticatorType>
- Enclosing interface:
- AdminAuthenticator
public static enum AdminAuthenticator.AuthenticatorType extends Enum<AdminAuthenticator.AuthenticatorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_INDICATOR
ADMIN_TOKEN
PRINCIPAL
REMOTE_ADDR
REMOTE_HOST
REST_TOKEN
USERNAME_PASSWORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdminAuthenticator.AuthenticatorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdminAuthenticator.AuthenticatorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRINCIPAL
public static final AdminAuthenticator.AuthenticatorType PRINCIPAL
-
REST_TOKEN
public static final AdminAuthenticator.AuthenticatorType REST_TOKEN
-
ADMIN_TOKEN
public static final AdminAuthenticator.AuthenticatorType ADMIN_TOKEN
-
REMOTE_HOST
public static final AdminAuthenticator.AuthenticatorType REMOTE_HOST
-
REMOTE_ADDR
public static final AdminAuthenticator.AuthenticatorType REMOTE_ADDR
-
ADMIN_INDICATOR
public static final AdminAuthenticator.AuthenticatorType ADMIN_INDICATOR
-
USERNAME_PASSWORD
public static final AdminAuthenticator.AuthenticatorType USERNAME_PASSWORD
-
-
Method Detail
-
values
public static AdminAuthenticator.AuthenticatorType[] 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 (AdminAuthenticator.AuthenticatorType c : AdminAuthenticator.AuthenticatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdminAuthenticator.AuthenticatorType 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
-
-