public static enum ServletSecurity.EmptyRoleSemantic extends Enum<ServletSecurity.EmptyRoleSemantic>
Enum Constant and Description |
---|
DENY
access is to be denied independent of authentication state and
identity.
|
PERMIT
access is to be permitted independent of authentication state and
identity.
|
Modifier and Type | Method and Description |
---|---|
static ServletSecurity.EmptyRoleSemantic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServletSecurity.EmptyRoleSemantic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServletSecurity.EmptyRoleSemantic PERMIT
public static final ServletSecurity.EmptyRoleSemantic DENY
public static ServletSecurity.EmptyRoleSemantic[] values()
for (ServletSecurity.EmptyRoleSemantic c : ServletSecurity.EmptyRoleSemantic.values()) System.out.println(c);
public static ServletSecurity.EmptyRoleSemantic 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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.