Class IdmIdentityServiceUserCacheImpl

  • All Implemented Interfaces:
    UserCache

    @Service
    public class IdmIdentityServiceUserCacheImpl
    extends BaseUserCache
    Cache containing User objects to prevent too much DB-traffic (users exist separately from the Flowable tables, they need to be fetched afterward one by one to join with those entities).

    TODO: This could probably be made more efficient with bulk getting. The Google cache impl allows this: override loadAll and use getAll() to fetch multiple entities.

    Author:
    Frederik Heremans, Joram Barrez, Filip Hrisafov
    • Field Detail

      • ldapProperties

        protected org.flowable.spring.boot.ldap.FlowableLdapProperties ldapProperties
      • identityService

        protected final org.flowable.idm.api.IdmIdentityService identityService
    • Constructor Detail

      • IdmIdentityServiceUserCacheImpl

        public IdmIdentityServiceUserCacheImpl​(FlowableCommonAppProperties properties,
                                               org.flowable.idm.api.IdmIdentityService identityService,
                                               UserService userService)
    • Method Detail

      • setLdapProperties

        @Autowired(required=false)
        public void setLdapProperties​(org.flowable.spring.boot.ldap.FlowableLdapProperties ldapProperties)