Class OAuth2MapperProperties
java.lang.Object
com.flowable.core.spring.security.oauth2.OAuth2MapperProperties
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<String>The name of the attributes from which authorities should be extracted from without any changes.protected StringThe 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 Collection<String>The name of the token attribute that holds the user ID corresponding to the Flowable IDM user ID.protected booleanEnables the loading from the platform user.protected StringThe name of the attribute that holds the tenant id for the authentication.Mapping a group key and a user definition.protected StringThe name of the attribute that holds the user definition key attribute for the authentication. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAuthoritiesAttributes(Collection<String> authoritiesAttributes) voidsetDefaultUserDefinitionKey(String defaultUserDefinitionKey) voidsetGroupsAttributes(Collection<String> groupsAttributes) voidsetIdmUserIdAttributes(Collection<String> idmUserIdAttributes) voidsetLoadAuthoritiesFromIdentityService(boolean loadAuthoritiesFromIdentityService) voidsetTenantAttribute(String tenantAttribute) voidsetUserDefinitionGroupMappings(Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> userDefinitionGroupMappings) voidsetUserDefinitionKeyAttribute(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. -
idmUserIdAttributes
The name of the token attribute that holds the user ID corresponding to the Flowable IDM user ID. -
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
-
getIdmUserIdAttributes
-
setIdmUserIdAttributes
-
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)
-