public enum AuthenticationMode extends Enum<AuthenticationMode>
Enum Constant and Description |
---|
CONSTRAINT_DRIVEN When running in constraint driven mode the authentication mechanisms are only executed where the constraint that mandates authentication is triggered, for all other requests no authentication occurs unless requested by the internal APIs which may be exposed using the Servlet APIs. |
PRO_ACTIVE Where the authentication mode is set to pro-active each request on arrival will be passed to the defined authentication mechanisms to eagerly perform authentication if there is sufficient information available in order to do so. |
Modifier and Type | Method and Description |
---|---|
static AuthenticationMode | valueOf(String name) Returns the enum constant of this type with the specified name. |
static AuthenticationMode[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final AuthenticationMode PRO_ACTIVE
public static final AuthenticationMode CONSTRAINT_DRIVEN
public static AuthenticationMode[] values()
for (AuthenticationMode c : AuthenticationMode.values()) System.out.println(c);
public static AuthenticationMode 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 © 2017 JBoss by Red Hat. All rights reserved.