Class OAuth2MapperProperties
java.lang.Object
com.flowable.core.spring.security.oauth2.OAuth2MapperProperties
- Author:
- Filip Hrisafov
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier 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 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidsetAuthoritiesAttributes(Collection<String> authoritiesAttributes) voidsetDefaultUserDefinitionKey(String defaultUserDefinitionKey) voidsetGroupsAttributes(Collection<String> groupsAttributes) voidsetLoadAuthoritiesFromIdentityService(boolean loadAuthoritiesFromIdentityService) voidsetTenantAttribute(String tenantAttribute) voidsetUserDefinitionGroupMappings(Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> userDefinitionGroupMappings) voidsetUserDefinitionKeyAttribute(String userDefinitionKeyAttribute) 
- 
Field Details- 
authoritiesAttributesThe name of the attributes from which authorities should be extracted from without any changes.
- 
groupsAttributesThe name of the attributes from which groups should be extracted from and converter to Flowable Groups.
- 
tenantAttributeThe name of the attribute that holds the tenant id for the authentication.
- 
userDefinitionKeyAttributeThe name of the attribute that holds the user definition key attribute for the authentication.
- 
loadAuthoritiesFromIdentityServiceprotected 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).
- 
defaultUserDefinitionKeyThe default user definition key that should be used when unable to derive user definition.
- 
userDefinitionGroupMappingsMapping 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- 
OAuth2MapperPropertiespublic OAuth2MapperProperties()
 
- 
- 
Method Details- 
getAuthoritiesAttributes
- 
setAuthoritiesAttributes
- 
getGroupsAttributes
- 
setGroupsAttributes
- 
getTenantAttribute
- 
setTenantAttribute
- 
getUserDefinitionKeyAttribute
- 
setUserDefinitionKeyAttribute
- 
isLoadAuthoritiesFromIdentityServicepublic boolean isLoadAuthoritiesFromIdentityService()
- 
setLoadAuthoritiesFromIdentityServicepublic void setLoadAuthoritiesFromIdentityService(boolean loadAuthoritiesFromIdentityService) 
- 
getDefaultUserDefinitionKey
- 
setDefaultUserDefinitionKey
- 
getUserDefinitionGroupMappingspublic Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> getUserDefinitionGroupMappings()
- 
setUserDefinitionGroupMappingspublic void setUserDefinitionGroupMappings(Collection<OAuth2MapperProperties.UserDefinitionGroupMapping> userDefinitionGroupMappings) 
 
-