Class AzureActiveDirectoryAttributesProperties
java.lang.Object
org.apereo.cas.configuration.model.support.azuread.AzureActiveDirectoryAttributesProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-azuread-authentication")
public class AzureActiveDirectoryAttributesProperties
extends Object
implements Serializable
- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBase API url used to contact microsoft graph for calls.Comma-separated attributes and user properties to fetch from microsoft graph.Client id of the registered app in microsoft azure portal.Client secret of the registered app in microsoft azure portal.Domain that is appended to usernames when doing lookups.Grant type used to fetch access tokens; defaults toclient_credentials
.getId()
A value can be assigned to this field to uniquely identify this resolver.Adjust the logging level of the API calls.Base login url used to fetch access tokens.int
getOrder()
The order of this attribute repository in the chain of repositories.Resource to fetch access tokens for; defaults to the graph api url.getScope()
Scope used when fetching access tokens.The microsoft tenant id.boolean
Whether attribute repository should consider the underlying attribute names in a case-insensitive manner.setApiBaseUrl
(String apiBaseUrl) Base API url used to contact microsoft graph for calls.setAttributes
(String attributes) Comma-separated attributes and user properties to fetch from microsoft graph.setCaseInsensitive
(boolean caseInsensitive) Whether attribute repository should consider the underlying attribute names in a case-insensitive manner.setClientId
(String clientId) Client id of the registered app in microsoft azure portal.setClientSecret
(String clientSecret) Client secret of the registered app in microsoft azure portal.Domain that is appended to usernames when doing lookups.setGrantType
(String grantType) Grant type used to fetch access tokens; defaults toclient_credentials
.A value can be assigned to this field to uniquely identify this resolver.setLoggingLevel
(String loggingLevel) Adjust the logging level of the API calls.setLoginBaseUrl
(String loginBaseUrl) Base login url used to fetch access tokens.setOrder
(int order) The order of this attribute repository in the chain of repositories.setResource
(String resource) Resource to fetch access tokens for; defaults to the graph api url.Scope used when fetching access tokens.The microsoft tenant id.
-
Constructor Details
-
AzureActiveDirectoryAttributesProperties
public AzureActiveDirectoryAttributesProperties()
-
-
Method Details
-
getOrder
public int getOrder()The order of this attribute repository in the chain of repositories. Can be used to explicitly position this source in chain and affects merging strategies. -
isCaseInsensitive
public boolean isCaseInsensitive()Whether attribute repository should consider the underlying attribute names in a case-insensitive manner. -
getId
A value can be assigned to this field to uniquely identify this resolver. -
getTenant
The microsoft tenant id. -
getResource
Resource to fetch access tokens for; defaults to the graph api url. -
getScope
Scope used when fetching access tokens. -
getGrantType
Grant type used to fetch access tokens; defaults toclient_credentials
. -
getAttributes
Comma-separated attributes and user properties to fetch from microsoft graph. If attributes are specified here, they would be the only ones requested and fetched. If this field is left blank, a default set of attributes are fetched and returned. -
getApiBaseUrl
Base API url used to contact microsoft graph for calls. -
getLoginBaseUrl
Base login url used to fetch access tokens. -
getDomain
Domain that is appended to usernames when doing lookups. The@
is automatically included. -
getLoggingLevel
Adjust the logging level of the API calls. Defaults tobasic
. Accepted values arenone,headers,basic,body
. -
getClientId
Client id of the registered app in microsoft azure portal. -
getClientSecret
Client secret of the registered app in microsoft azure portal. -
setOrder
The order of this attribute repository in the chain of repositories. Can be used to explicitly position this source in chain and affects merging strategies.- Returns:
this
.
-
setCaseInsensitive
Whether attribute repository should consider the underlying attribute names in a case-insensitive manner.- Returns:
this
.
-
setId
A value can be assigned to this field to uniquely identify this resolver.- Returns:
this
.
-
setTenant
The microsoft tenant id.- Returns:
this
.
-
setResource
Resource to fetch access tokens for; defaults to the graph api url.- Returns:
this
.
-
setScope
Scope used when fetching access tokens.- Returns:
this
.
-
setGrantType
Grant type used to fetch access tokens; defaults toclient_credentials
.- Returns:
this
.
-
setAttributes
Comma-separated attributes and user properties to fetch from microsoft graph. If attributes are specified here, they would be the only ones requested and fetched. If this field is left blank, a default set of attributes are fetched and returned.- Returns:
this
.
-
setApiBaseUrl
Base API url used to contact microsoft graph for calls.- Returns:
this
.
-
setLoginBaseUrl
Base login url used to fetch access tokens.- Returns:
this
.
-
setDomain
Domain that is appended to usernames when doing lookups. The@
is automatically included.- Returns:
this
.
-
setLoggingLevel
Adjust the logging level of the API calls. Defaults tobasic
. Accepted values arenone,headers,basic,body
.- Returns:
this
.
-
setClientId
Client id of the registered app in microsoft azure portal.- Returns:
this
.
-
setClientSecret
Client secret of the registered app in microsoft azure portal.- Returns:
this
.
-