public static enum SecurityInfo.EmptyRoleSemantic extends Enum<SecurityInfo.EmptyRoleSemantic>
ServletSecurity.EmptyRoleSemantic
but with an additional mode to require authentication but no role
check.Enum Constant and 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 and Description |
---|---|
static SecurityInfo.EmptyRoleSemantic |
valueOf(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(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 © 2019 JBoss by Red Hat. All rights reserved.