Class OAuth2MapperProperties

java.lang.Object
com.flowable.core.spring.security.oauth2.OAuth2MapperProperties

public class OAuth2MapperProperties extends Object
Author:
Filip Hrisafov
  • Field Details

    • authoritiesAttributes

      protected Collection<String> authoritiesAttributes
      The name of the attributes from which authorities should be extracted from without any changes.
    • groupsAttributes

      protected Collection<String> groupsAttributes
      The name of the attributes from which groups should be extracted from and converter to Flowable Groups.
    • tenantAttribute

      protected String tenantAttribute
      The name of the attribute that holds the tenant id for the authentication.
    • userDefinitionKeyAttribute

      protected String userDefinitionKeyAttribute
      The name of the attribute that holds the user definition key attribute for the authentication.
    • loadAuthoritiesFromIdentityService

      protected boolean loadAuthoritiesFromIdentityService
      Enables the loading from the platform user. This might impact the performance of the user sign-in depending on the speed of your PlatformIdentityService and the backed service (e.g. LDAP).
    • defaultUserDefinitionKey

      protected String defaultUserDefinitionKey
      The default user definition key that should be used when unable to derive user definition.
    • userDefinitionGroupMappings

      protected Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> userDefinitionGroupMappings
      Mapping a group key and a user definition. The order of the entries is important, the first matching group will be used for the user definition key.
  • Constructor Details

    • OAuth2MapperProperties

      public OAuth2MapperProperties()
  • Method Details

    • getAuthoritiesAttributes

      public Collection<String> getAuthoritiesAttributes()
    • setAuthoritiesAttributes

      public void setAuthoritiesAttributes(Collection<String> authoritiesAttributes)
    • getGroupsAttributes

      public Collection<String> getGroupsAttributes()
    • setGroupsAttributes

      public void setGroupsAttributes(Collection<String> groupsAttributes)
    • getTenantAttribute

      public String getTenantAttribute()
    • setTenantAttribute

      public void setTenantAttribute(String tenantAttribute)
    • getUserDefinitionKeyAttribute

      public String getUserDefinitionKeyAttribute()
    • setUserDefinitionKeyAttribute

      public void setUserDefinitionKeyAttribute(String userDefinitionKeyAttribute)
    • isLoadAuthoritiesFromIdentityService

      public boolean isLoadAuthoritiesFromIdentityService()
    • setLoadAuthoritiesFromIdentityService

      public void setLoadAuthoritiesFromIdentityService(boolean loadAuthoritiesFromIdentityService)
    • getDefaultUserDefinitionKey

      public String getDefaultUserDefinitionKey()
    • setDefaultUserDefinitionKey

      public void setDefaultUserDefinitionKey(String defaultUserDefinitionKey)
    • getUserDefinitionGroupMappings

      public Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> getUserDefinitionGroupMappings()
    • setUserDefinitionGroupMappings

      public void setUserDefinitionGroupMappings(Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> userDefinitionGroupMappings)