public enum AuthType extends Enum<AuthType>
| Enum Constant and Description |
|---|
BASIC |
KEYCLOAKOAUTH2 |
NONE |
OAUTH2 |
| Modifier and Type | Method and Description |
|---|---|
static String |
all() |
Authenticator |
getAuthenticator() |
static AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthType NONE
public static final AuthType BASIC
public static final AuthType OAUTH2
public static final AuthType KEYCLOAKOAUTH2
public static AuthType[] values()
for (AuthType c : AuthType.values()) System.out.println(c);
public static AuthType 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 nullpublic Authenticator getAuthenticator()
public static String all()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.