public class LDAPCache extends Object implements Serializable
http://www.adam-bien.com/roller/abien/entry/singleton_the_perfect_cache_facade,
Serialized Form| Constructor and Description |
|---|
LDAPCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String key)
returns true if the key is contained in the cache.
|
String[] |
getGroups(String key)
Returns a cached list of group names associated with a userId.
|
org.imixs.workflow.ItemCollection |
getUser(String key)
Returns a cached user object.
|
void |
putGroups(String key,
String[] groups)
Stores a list of group names for a given userId.
|
void |
putUser(String key,
org.imixs.workflow.ItemCollection user)
The method puts a user ItemCollection into the cache.
|
void |
resetCache()
resets the ldap cache object and reads the config params....
|
public void resetCache()
public boolean contains(String key)
public org.imixs.workflow.ItemCollection getUser(String key)
key - public void putUser(String key, org.imixs.workflow.ItemCollection user)
key - user - public String[] getGroups(String key)
key - Copyright © 2019 Imixs Software Solutions GmbH. All rights reserved.