|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CamsAgentContext
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 |
|---|
Config getConfig()
CamsClient getClient()
boolean getDebug()
boolean cacheRemoteSessions()
RemoteSessionManager getRemoteSessionManager()
boolean cacheAccessControlChecks()
AccessControlCheckCache getAccessControlCheckCache()
void destroy()
long getLastAccessControlResponseTime()
void setLastAccessControlResponseTime(long lastAccessControlResponseTime)
lastAccessControlResponseTime - the last time the Cams policy server
was modifiedlong getServerModifiedTime()
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 | |||||||||