public class AccessResolverAcl extends Object implements IAccessResolver
Modifier and Type | Field and Description |
---|---|
protected CachedDataBinder |
m_aliasBinder |
protected AliasCache |
m_aliasCache |
protected CSEnvCache |
m_csEnvCache |
protected ILog |
m_log |
protected IdcContext |
m_superuser |
Constructor and Description |
---|
AccessResolverAcl(CSEnvCache csEnvCache, long timeToLive, IdcContext superuser)
The superuser context is used to cache a copy of the Alias list from the content server
|
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear the caches
|
Integer |
resolveAccessLevel(DataObject docInfo, DataBinder userBinder)
Get the access level or null if no information is available Fix for bug 9782307, only if the document's group is listed in the enviroment's SpecialAuthGroups list will the access level be checked.
|
Integer |
resolveAccessLevel(DataObject docInfo, DataBinder userBinder, ITrace trace)
For a given document, determine the user's access level If the resolver determines that it doesn't want to participate in the access level calculation, it returns null
|
protected CSEnvCache m_csEnvCache
protected AliasCache m_aliasCache
protected CachedDataBinder m_aliasBinder
protected IdcContext m_superuser
protected ILog m_log
public AccessResolverAcl(CSEnvCache csEnvCache, long timeToLive, IdcContext superuser)
superuser
-timeToLive
-csEnvCache
-public Integer resolveAccessLevel(DataObject docInfo, DataBinder userBinder)
resolveAccessLevel
in interface IAccessResolver
docInfo
-userBinder
-public Integer resolveAccessLevel(DataObject docInfo, DataBinder userBinder, ITrace trace) throws IdcClientException
IAccessResolver
resolveAccessLevel
in interface IAccessResolver
docInfo
- DataObject containing security information about the document (typically from DOC_INFO)userBinder
- DataBinder containing resultsets for user security @return null or access levelIdcClientException
public void clearCache()
clearCache
in interface IAccessResolver