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 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

      public String getId()
      A value can be assigned to this field to uniquely identify this resolver.
    • getTenant

      public String getTenant()
      The microsoft tenant id.
    • getResource

      public String getResource()
      Resource to fetch access tokens for; defaults to the graph api url.
    • getScope

      public String getScope()
      Scope used when fetching access tokens.
    • getGrantType

      public String getGrantType()
      Grant type used to fetch access tokens; defaults to client_credentials.
    • getAttributes

      public String 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

      public String getApiBaseUrl()
      Base API url used to contact microsoft graph for calls.
    • getLoginBaseUrl

      public String getLoginBaseUrl()
      Base login url used to fetch access tokens.
    • getDomain

      public String getDomain()
      Domain that is appended to usernames when doing lookups. The @ is automatically included.
    • getLoggingLevel

      public String getLoggingLevel()
      Adjust the logging level of the API calls. Defaults to basic. Accepted values are none,headers,basic,body.
    • getClientId

      public String getClientId()
      Client id of the registered app in microsoft azure portal.
    • getClientSecret

      public String getClientSecret()
      Client secret of the registered app in microsoft azure portal.
    • setOrder

      public AzureActiveDirectoryAttributesProperties setOrder(int order)
      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

      public AzureActiveDirectoryAttributesProperties setCaseInsensitive(boolean caseInsensitive)
      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

      public AzureActiveDirectoryAttributesProperties setResource(String resource)
      Resource to fetch access tokens for; defaults to the graph api url.
      Returns:
      this.
    • setScope

      Scope used when fetching access tokens.
      Returns:
      this.
    • setGrantType

      public AzureActiveDirectoryAttributesProperties setGrantType(String grantType)
      Grant type used to fetch access tokens; defaults to client_credentials.
      Returns:
      this.
    • setAttributes

      public AzureActiveDirectoryAttributesProperties setAttributes(String attributes)
      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

      public AzureActiveDirectoryAttributesProperties setApiBaseUrl(String apiBaseUrl)
      Base API url used to contact microsoft graph for calls.
      Returns:
      this.
    • setLoginBaseUrl

      public AzureActiveDirectoryAttributesProperties setLoginBaseUrl(String loginBaseUrl)
      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

      public AzureActiveDirectoryAttributesProperties setLoggingLevel(String loggingLevel)
      Adjust the logging level of the API calls. Defaults to basic. Accepted values are none,headers,basic,body.
      Returns:
      this.
    • setClientId

      public AzureActiveDirectoryAttributesProperties setClientId(String clientId)
      Client id of the registered app in microsoft azure portal.
      Returns:
      this.
    • setClientSecret

      public AzureActiveDirectoryAttributesProperties setClientSecret(String clientSecret)
      Client secret of the registered app in microsoft azure portal.
      Returns:
      this.