Enum AadApplicationType
java.lang.Object
java.lang.Enum<AadApplicationType>
com.azure.spring.cloud.autoconfigure.aad.properties.AadApplicationType
- All Implemented Interfaces:
Serializable
,Comparable<AadApplicationType>
,java.lang.constant.Constable
Azure AD application type.
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' |
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionResource serverResource server with OBOWeb applicationWeb application and resource server -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Gets the string representation of the enum.static AadApplicationType
Infer application type by dependenciesstatic AadApplicationType
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.
-
Enum Constant Details
-
WEB_APPLICATION
Web application -
RESOURCE_SERVER
Resource server -
RESOURCE_SERVER_WITH_OBO
Resource server with OBO -
WEB_APPLICATION_AND_RESOURCE_SERVER
Web application and resource server
-
-
Field Details
-
SPRING_SECURITY_OAUTH2_CLIENT_CLASS_NAME
The Spring security OAuth2 client class name- See Also:
-
SPRING_SECURITY_OAUTH2_RESOURCE_SERVER_CLASS_NAME
The Spring security OAuth2 resource server class name- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
Gets the string representation of the enum.- Returns:
- the string representation of the enum
-
inferApplicationTypeByDependencies
Infer application type by dependencies- Returns:
- AADApplicationType
-