java.io.Serializable
, java.lang.Comparable<SecurityInfo.EmptyRoleSemantic>
public static enum SecurityInfo.EmptyRoleSemantic extends java.lang.Enum<SecurityInfo.EmptyRoleSemantic>
ServletSecurity.EmptyRoleSemantic
but with an additional mode to require authentication but no role
check.Enum Constant | Description |
---|---|
AUTHENTICATE |
Mandate authentication but authorize access as no roles to check against.
|
DENY |
Deny access to the resource regardless of the authentication state.
|
PERMIT |
Permit access to the resource without requiring authentication or role membership.
|
Modifier and Type | Method | Description |
---|---|---|
static SecurityInfo.EmptyRoleSemantic |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SecurityInfo.EmptyRoleSemantic[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityInfo.EmptyRoleSemantic PERMIT
public static final SecurityInfo.EmptyRoleSemantic DENY
public static final SecurityInfo.EmptyRoleSemantic AUTHENTICATE
public static SecurityInfo.EmptyRoleSemantic[] values()
for (SecurityInfo.EmptyRoleSemantic c : SecurityInfo.EmptyRoleSemantic.values()) System.out.println(c);
public static SecurityInfo.EmptyRoleSemantic 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 nullCopyright © 2018. All rights reserved.