@Service public class IdmIdentityServiceUserCacheImpl extends BaseUserCache
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.
UserCache.CachedUser| Modifier and Type | Field and Description |
|---|---|
protected org.flowable.idm.api.IdmIdentityService |
identityService |
protected org.flowable.spring.boot.ldap.FlowableLdapProperties |
ldapProperties |
protected com.google.common.cache.LoadingCache<String,UserCache.CachedUser> |
userCache |
protected UserService |
userService |
properties| Constructor and Description |
|---|
IdmIdentityServiceUserCacheImpl(FlowableCommonAppProperties properties,
org.flowable.idm.api.IdmIdentityService identityService,
UserService userService) |
| Modifier and Type | Method and Description |
|---|---|
protected UserCache.CachedUser |
loadUser(String userId) |
void |
setLdapProperties(org.flowable.spring.boot.ldap.FlowableLdapProperties ldapProperties) |
getUser, getUser, initCache, invalidate, putUserprotected org.flowable.spring.boot.ldap.FlowableLdapProperties ldapProperties
protected final org.flowable.idm.api.IdmIdentityService identityService
protected final UserService userService
protected com.google.common.cache.LoadingCache<String,UserCache.CachedUser> userCache
public IdmIdentityServiceUserCacheImpl(FlowableCommonAppProperties properties, org.flowable.idm.api.IdmIdentityService identityService, UserService userService)
protected UserCache.CachedUser loadUser(String userId)
loadUser in class BaseUserCache@Autowired(required=false) public void setLdapProperties(org.flowable.spring.boot.ldap.FlowableLdapProperties ldapProperties)
Copyright © 2021 Flowable. All rights reserved.