Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


oracle.stellent.ridc.convenience.usersecurity.impl
Class UserSGAccountsCache

java.lang.Object
  extended by oracle.stellent.ridc.convenience.usersecurity.impl.UserSecurityGroupsCache
      extended by oracle.stellent.ridc.convenience.usersecurity.impl.UserSGAccountsCache

All Implemented Interfaces:
IUserSecurityCache
Direct Known Subclasses:
UserSGAcctAclCache

public class UserSGAccountsCache
extends UserSecurityGroupsCache

Implementation of Content Security will check Security Groups and Accounts


Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.stellent.ridc.convenience.usersecurity.IUserSecurityCache
IUserSecurityCache.AdminType

 

Field Summary

 

Fields inherited from class oracle.stellent.ridc.convenience.usersecurity.impl.UserSecurityGroupsCache
m_accessResolvers, m_csEnvCache, m_idcClient, m_log, m_securityGroupsResolver, m_timeToLive, m_userCache

 

Constructor Summary
UserSGAccountsCache(IdcClient idcClient, int cacheMaxSize, long userTimeToLive, long serverTimeToLive)
          Deprecated.  
UserSGAccountsCache(IdcClient idcClient, int cacheMaxSize, long userTimeToLive, long serverTimeToLive, IdcContext superuser)
          Create a security implementation that checks Security Groups and Accounts if Account Security is enabled on the content server with UseAccounts=1
UserSGAccountsCache(IdcClient idcClient, int cacheMaxSize, long userTimeToLive, long serverTimeToLive, IdcContext superuser, IServiceCallUtils serviceCallUtils)
          Create a security implementation that checks Security Groups and Accounts if Account Security is enabled on the content server with UseAccounts=1

 

Method Summary

 

Methods inherited from class oracle.stellent.ridc.convenience.usersecurity.impl.UserSecurityGroupsCache
addAccessResolver, clearCache, getAccessLevelForDocument, getAccessLevelForDocument, getCacheIdForUser, getCacheIdForUser, getIdcClient, getInUseCount, getPermissions, getServiceCallUtils, getUserSecurityFlags, initializeCache, isAdmin, isAdmin, isAuthorDelete, putPermissions, removeCacheId, removePermissions, removeStaleEntries, setIdcClient, setServiceCallUtils

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

UserSGAccountsCache

public UserSGAccountsCache(IdcClient idcClient,
                           int cacheMaxSize,
                           long userTimeToLive,
                           long serverTimeToLive)
Deprecated. 
Create a security implementation that checks Security Groups and Accounts if Account Security is enabled on the content server with UseAccounts=1 This constructor will use the anonymous user to fetch environment information. You should consider using another constructor and the superuser as some environment information is restricted. Since this is a potentially dangerous configuration (you will silently not get all the information you think you should be getting) it is marked as deprecated.
Parameters:
idcClient - RIDC connection information
cacheMaxSize - Number of entries (userids) to keep in LRU cache
userTimeToLive - Number of milliseconds before an entry is too old
serverTimeToLive - Number of milliseconds to keep server's Environment information
See Also:
UserSecurityGroupsCache

UserSGAccountsCache

public UserSGAccountsCache(IdcClient idcClient,
                           int cacheMaxSize,
                           long userTimeToLive,
                           long serverTimeToLive,
                           IdcContext superuser)
Create a security implementation that checks Security Groups and Accounts if Account Security is enabled on the content server with UseAccounts=1
Parameters:
idcClient - RIDC connection information
cacheMaxSize - Number of entries (userids) to keep in LRU cache
userTimeToLive - Number of milliseconds before an entry is too old
serverTimeToLive - Number of milliseconds to keep server's Environment information
superuser - Admin-level user to fetch environment information
See Also:
UserSecurityGroupsCache

UserSGAccountsCache

public UserSGAccountsCache(IdcClient idcClient,
                           int cacheMaxSize,
                           long userTimeToLive,
                           long serverTimeToLive,
                           IdcContext superuser,
                           IServiceCallUtils serviceCallUtils)
Create a security implementation that checks Security Groups and Accounts if Account Security is enabled on the content server with UseAccounts=1
Parameters:
idcClient - RIDC connection information
cacheMaxSize - Number of entries (userids) to keep in LRU cache
userTimeToLive - Number of milliseconds before an entry is too old
serverTimeToLive - Number of milliseconds to keep server's Environment information
superuser - Admin-level user to fetch environment information
serviceCallUtils - util class perhaps a mock object for testing
See Also:
UserSecurityGroupsCache

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.