|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
CamsAgentContext This structure provides CamsAgent instances with various resources and services including: 1. configuration Properties 2. a trace Logger 3. a CamsClient instance used to communicate with a CamsPolicyServer 4. an optional CamsRemoteSessionManager instance, used to cache information about sessions associated with authenticated Cams users. 5. an optioanl CamsAccessControlCheckCache instance, used to cache certain access control responses to improve agent performance.
| Method Summary | |
boolean |
cacheAccessControlChecks()
Determine if AccessControlCheck caching is enabled. |
boolean |
cacheRemoteSessions()
Determine if RemoteSession caching is enabled. |
void |
destroy()
Destroys the CamsAgentContext. |
AccessControlCheckCache |
getAccessControlCheckCache()
Returns the CamsAccessControlCheckCache. |
CamsClient |
getClient()
Returns the CamsClient. |
Config |
getConfig()
Returns the configuration. |
boolean |
getDebug()
Determine if debugging is enabled. |
long |
getLastAccessControlResponseTime()
Returns the last time an AccessControlResponse was received. |
RemoteSessionManager |
getRemoteSessionManager()
Returns the CamsRemoteSessionManager. |
long |
getServerModifiedTime()
Returns the last time the Cams policy server was modified. |
void |
setLastAccessControlResponseTime(long lastAccessControlResponseTime)
Sets the last time the Cams policy server was modified. |
void |
setServerModifiedTime(long serverModifiedTime)
Sets the last time the Cams policy server was modified. |
| Method Detail |
public Config getConfig()
public CamsClient getClient()
public boolean getDebug()
public boolean cacheRemoteSessions()
public RemoteSessionManager getRemoteSessionManager()
public boolean cacheAccessControlChecks()
public AccessControlCheckCache getAccessControlCheckCache()
public void destroy()
public long getLastAccessControlResponseTime()
public void setLastAccessControlResponseTime(long lastAccessControlResponseTime)
lastAccessControlResponseTime - the last time the Cams policy server
was modifiedpublic long getServerModifiedTime()
public void setServerModifiedTime(long serverModifiedTime)
serverModifiedTime - the last time the Cams policy server was
modified
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||