public interface CredentialCacheMBean extends StandardInterface, DescriptorBean
| Modifier and Type | Method and 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. 
 | 
getNameaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerboolean isCredentialCachingEnabled()
void setCredentialCachingEnabled(boolean enabled)
                          throws InvalidAttributeValueException
enabled - - enable or disable credential cachingInvalidAttributeValueExceptionCredentialCacheMBean.isCredentialCachingEnabled()int getCredentialsCacheSize()
void setCredentialsCacheSize(int max)
                      throws InvalidAttributeValueException
max - - the new maximum number of credentials in the cacheInvalidAttributeValueExceptionCredentialCacheMBean.getCredentialsCacheSize()int getCredentialCacheTTL()
void setCredentialCacheTTL(int TTL)
                    throws InvalidAttributeValueException
TTL - - sets the time (in seconds) for a credential entry to valid in the cacheInvalidAttributeValueExceptionCredentialCacheMBean.getCredentialCacheTTL()