public enum AllowAccessMode extends java.lang.Enum<AllowAccessMode> implements HasMessageKey
| Enum Constant and Description |
|---|
ANY
The user can access from any URL
|
CURRENT_ONLY
The user can access only from the current configuration URL
|
CURRENT_OR_ANCESTORS
The user can access from the current configuration URL or any ancestor (default)
|
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
getMessageKey() |
static AllowAccessMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllowAccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllowAccessMode CURRENT_OR_ANCESTORS
public static final AllowAccessMode CURRENT_ONLY
public static final AllowAccessMode ANY
public static AllowAccessMode[] values()
for (AllowAccessMode c : AllowAccessMode.values()) System.out.println(c);
public static AllowAccessMode 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 nullpublic MessageKey getMessageKey()
getMessageKey in interface HasMessageKey