Class OAuth2MapperProperties
java.lang.Object
com.flowable.core.spring.security.oauth2.OAuth2MapperProperties
- Author:
- Filip Hrisafov
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection<String>
The name of the attributes from which authorities should be extracted from without any changes.protected String
The default user definition key that should be used when unable to derive user definition.protected Collection<String>
The name of the attributes from which groups should be extracted from and converter to Flowable Groups.protected boolean
Enables the loading from the platform user.protected String
The name of the attribute that holds the tenant id for the authentication.Mapping a group key and a user definition.protected String
The name of the attribute that holds the user definition key attribute for the authentication. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setAuthoritiesAttributes
(Collection<String> authoritiesAttributes) void
setDefaultUserDefinitionKey
(String defaultUserDefinitionKey) void
setGroupsAttributes
(Collection<String> groupsAttributes) void
setLoadAuthoritiesFromIdentityService
(boolean loadAuthoritiesFromIdentityService) void
setTenantAttribute
(String tenantAttribute) void
setUserDefinitionGroupMappings
(Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> userDefinitionGroupMappings) void
setUserDefinitionKeyAttribute
(String userDefinitionKeyAttribute)
-
Field Details
-
authoritiesAttributes
The name of the attributes from which authorities should be extracted from without any changes. -
groupsAttributes
The name of the attributes from which groups should be extracted from and converter to Flowable Groups. -
tenantAttribute
The name of the attribute that holds the tenant id for the authentication. -
userDefinitionKeyAttribute
The name of the attribute that holds the user definition key attribute for the authentication. -
loadAuthoritiesFromIdentityService
protected boolean loadAuthoritiesFromIdentityServiceEnables 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
The default user definition key that should be used when unable to derive user definition. -
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
-
setAuthoritiesAttributes
-
getGroupsAttributes
-
setGroupsAttributes
-
getTenantAttribute
-
setTenantAttribute
-
getUserDefinitionKeyAttribute
-
setUserDefinitionKeyAttribute
-
isLoadAuthoritiesFromIdentityService
public boolean isLoadAuthoritiesFromIdentityService() -
setLoadAuthoritiesFromIdentityService
public void setLoadAuthoritiesFromIdentityService(boolean loadAuthoritiesFromIdentityService) -
getDefaultUserDefinitionKey
-
setDefaultUserDefinitionKey
-
getUserDefinitionGroupMappings
public Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> getUserDefinitionGroupMappings() -
setUserDefinitionGroupMappings
public void setUserDefinitionGroupMappings(Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> userDefinitionGroupMappings)
-