public static enum AuthenticationMechanism.AuthenticationMechanismOutcome extends Enum<AuthenticationMechanism.AuthenticationMechanismOutcome>
Enum Constant and Description |
---|
AUTHENTICATED Based on the current request the mechanism has successfully performed authentication. |
NOT_ATTEMPTED The mechanism did not attempt authentication on this request, most likely due to not discovering any applicable security tokens for this mechanisms in the request. |
NOT_AUTHENTICATED The mechanism attempted authentication but it did not complete, this could either be due to a failure validating the tokens from the client or it could be due to the mechanism requiring at least one additional round trip with the client - either way the request will return challenges to the client. |
Modifier and Type | Method and Description |
---|---|
static AuthenticationMechanism.AuthenticationMechanismOutcome | valueOf(String name) Returns the enum constant of this type with the specified name. |
static AuthenticationMechanism.AuthenticationMechanismOutcome[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final AuthenticationMechanism.AuthenticationMechanismOutcome AUTHENTICATED
public static final AuthenticationMechanism.AuthenticationMechanismOutcome NOT_ATTEMPTED
public static final AuthenticationMechanism.AuthenticationMechanismOutcome NOT_AUTHENTICATED
public static AuthenticationMechanism.AuthenticationMechanismOutcome[] values()
for (AuthenticationMechanism.AuthenticationMechanismOutcome c : AuthenticationMechanism.AuthenticationMechanismOutcome.values()) System.out.println(c);
public static AuthenticationMechanism.AuthenticationMechanismOutcome 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 © 2020 JBoss by Red Hat. All rights reserved.