public enum AuthType extends Enum<AuthType>
Enum Constant and Description |
---|
NONE
Only anonymous operation is available.
|
OPTIONAL
Both authenticated and anonymous operation are permitted.
|
REQUIRED
Authentication is necessary for use.
|
UNKNOWN
Information not available.
|
Modifier and Type | Method and Description |
---|---|
static AuthType |
valueOf(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.
|
public static final AuthType NONE
public static final AuthType OPTIONAL
public static final AuthType REQUIRED
public static final AuthType UNKNOWN
public static AuthType[] values()
for (AuthType c : AuthType.values()) System.out.println(c);
public static AuthType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.