public enum Authentication extends java.lang.Enum<Authentication>
Enum Constant and Description |
---|
PUBLIC
The application data is publicly accessible for everyone, which means
that no authentication is required.
|
USER
The application data is only accessible for an authenticated user.
|
Modifier and Type | Method and Description |
---|---|
static Authentication |
valueOf(java.lang.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.
|
public static final Authentication PUBLIC
public static final Authentication USER
public static Authentication[] values()
for (Authentication c : Authentication.values()) System.out.println(c);
public static Authentication valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null