public enum AADApplicationType extends Enum<AADApplicationType>
The value can be inferred by dependencies, only 'web_application_and_resource_server' must be configured manually.
| Has dependency: spring-security-oauth2-client | Has dependency: spring-security-oauth2-resource-server | Valid values of application type | Default value | |-----------------------------------------------|--------------------------------------------------------|--------------------------------------------------------------------------------------------------------|-----------------------------| | Yes | No | 'web_application' | 'web_application' | | No | Yes | 'resource_server' | 'resource_server' | | Yes | Yes | 'web_application','resource_server','resource_server_with_obo', 'web_application_and_resource_server' | 'resource_server_with_obo' |
| Enum Constant and Description |
|---|
RESOURCE_SERVER |
RESOURCE_SERVER_WITH_OBO |
WEB_APPLICATION |
WEB_APPLICATION_AND_RESOURCE_SERVER |
| Modifier and Type | Field and Description |
|---|---|
static String |
SPRING_SECURITY_OAUTH2_CLIENT_CLASS_NAME |
static String |
SPRING_SECURITY_OAUTH2_RESOURCE_SERVER_CLASS_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static AADApplicationType |
inferApplicationTypeByDependencies()
Infer application type by dependencies
|
static AADApplicationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AADApplicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AADApplicationType WEB_APPLICATION
public static final AADApplicationType RESOURCE_SERVER
public static final AADApplicationType RESOURCE_SERVER_WITH_OBO
public static final AADApplicationType WEB_APPLICATION_AND_RESOURCE_SERVER
public static final String SPRING_SECURITY_OAUTH2_CLIENT_CLASS_NAME
public static final String SPRING_SECURITY_OAUTH2_RESOURCE_SERVER_CLASS_NAME
public static AADApplicationType[] values()
public static AADApplicationType 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 String getValue()
public static AADApplicationType inferApplicationTypeByDependencies()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.