@Validated @ConfigurationProperties(value="azure.activedirectory") public class AADAuthenticationProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AADAuthenticationProperties.UserGroupProperties
Properties dedicated to changing the behavior of how the groups are mapped from the Azure AD response.
|
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
activeDirectoryGroups
Azure AD groups.
|
private boolean |
allowTelemetry
If Telemetry events should be published to Azure AD.
|
private String |
clientId
Registered application ID in Azure AD.
|
private String |
clientSecret
API Access Key of the registered application.
|
private static String |
DEFAULT_SERVICE_ENVIRONMENT |
private String |
environment
Azure service environment/region name, e.g., cn, global
|
private int |
jwtConnectTimeout
Connection Timeout for the JWKSet Remote URL call.
|
private int |
jwtReadTimeout
Read Timeout for the JWKSet Remote URL call.
|
private int |
jwtSizeLimit
Size limit in Bytes of the JWKSet Remote URL call.
|
private String |
tenantId
Azure Tenant ID.
|
private AADAuthenticationProperties.UserGroupProperties |
userGroup
Default UserGroup configuration.
|
| Constructor and Description |
|---|
AADAuthenticationProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getActiveDirectoryGroups() |
void |
validateUserGroupProperties()
Validates at least one of the user group properties are populated.
|
private static final String DEFAULT_SERVICE_ENVIRONMENT
private AADAuthenticationProperties.UserGroupProperties userGroup
private String environment
private String clientId
private String clientSecret
private int jwtConnectTimeout
private int jwtReadTimeout
private int jwtSizeLimit
private String tenantId
private boolean allowTelemetry
@DeprecatedConfigurationProperty(reason="Configuration moved to UserGroup class to keep UserGroup properties together",
replacement="azure.activedirectory.user-group.allowed-groups")
public List<String> getActiveDirectoryGroups()
@PostConstruct public void validateUserGroupProperties()
Copyright © 2019 Microsoft. All rights reserved.