public static enum HttpSecurityPolicy.CheckResult extends Enum<HttpSecurityPolicy.CheckResult>
| Enum Constant and Description |
|---|
DENY
Denies the request.
|
PERMIT
If this is returned then the request is allowed.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpSecurityPolicy.CheckResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpSecurityPolicy.CheckResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpSecurityPolicy.CheckResult PERMIT
public static final HttpSecurityPolicy.CheckResult DENY
SecurityIdentity represents the anonymous user then
HttpAuthenticationMechanism.sendChallenge(RoutingContext) will be invoked, otherwise
a 403 forbidden error code will be returned.public static HttpSecurityPolicy.CheckResult[] values()
for (HttpSecurityPolicy.CheckResult c : HttpSecurityPolicy.CheckResult.values()) System.out.println(c);
public static HttpSecurityPolicy.CheckResult 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.