public class AliasCache extends Object
Modifier and Type | Field and Description |
---|---|
protected CachedDataBinder |
m_aliasesBinder |
protected Map<String,List<String>> |
m_aliasMap |
protected CSEnvCache |
m_csEnvCache |
protected IdcContext |
m_superuser |
protected long |
m_timeToLive |
Constructor and Description |
---|
AliasCache(CSEnvCache csEnvCache, long timeToLive, IdcContext superuser) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear any cache of information
|
boolean |
isUserInAlias(String userName, String aliasName) |
boolean |
isUserInAlias(String userName, String aliasName, ITrace trace)
return true if userName is in the aliasName list
|
protected long m_timeToLive
protected IdcContext m_superuser
protected CachedDataBinder m_aliasesBinder
protected CSEnvCache m_csEnvCache
public AliasCache(CSEnvCache csEnvCache, long timeToLive, IdcContext superuser)
public void clearCache()
public boolean isUserInAlias(String userName, String aliasName, ITrace trace) throws IdcClientException
IdcClientException