DescriptorBean, SettableBean, StandardInterfacepublic interface CredentialCacheMBean extends StandardInterface, DescriptorBean
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCredentialCacheTTL() |
Returns the maximum number of seconds a credential entry is valid in the LRU cache.
|
int |
getCredentialsCacheSize() |
Returns the maximum size of the LRU cache for holding credentials if caching is enabled.
|
boolean |
isCredentialCachingEnabled() |
Returns whether non-null credentials are cached by the credential
mappers
|
void |
setCredentialCacheTTL(int TTL) |
Sets the maximum number of seconds a credential entry is valid in the LRU cache.
|
void |
setCredentialCachingEnabled(boolean enabled) |
Sets whether credentials, if found, should be cached by the mappers
|
void |
setCredentialsCacheSize(int max) |
Sets the maximum size of the LRU cache for holding credentails if caching is enabled.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetNameboolean isCredentialCachingEnabled()
void setCredentialCachingEnabled(boolean enabled)
throws javax.management.InvalidAttributeValueException
enabled - - enable or disable credential cachingjavax.management.InvalidAttributeValueExceptionisCredentialCachingEnabled()int getCredentialsCacheSize()
void setCredentialsCacheSize(int max)
throws javax.management.InvalidAttributeValueException
max - - the new maximum number of credentials in the cachejavax.management.InvalidAttributeValueExceptiongetCredentialsCacheSize()int getCredentialCacheTTL()
void setCredentialCacheTTL(int TTL)
throws javax.management.InvalidAttributeValueException
TTL - - sets the time (in seconds) for a credential entry to valid in the cachejavax.management.InvalidAttributeValueExceptiongetCredentialCacheTTL()