| 
 | Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface CredentialCacheMBean
Defines methods used to get/set the configuration attributes that are required to support the credential cache.
In addition to being used as
 a base class that provides functionality to security provider
 MBeans, JMX applications can use this class directly as a type-safe
 interface. When used as a type-safe interface, a JMX application
 imports this class and accesses it through
 weblogic.management.MBeanHome. As of 9.0, the
 MBeanHome interface and all type-safe interfaces for
 WebLogic Server MBeans are deprecated. Instead, JMX applications that
 interact with WebLogic Server MBeans should use standard JMX design
 patterns in which clients use the
 javax.management.MBeanServerConnection interface to
 discover MBeans, attributes, and attribute types at runtime. 
| Method Summary | |
|---|---|
|  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. | 
| Method Detail | 
|---|
boolean isCredentialCachingEnabled()
void setCredentialCachingEnabled(boolean enabled)
                                 throws InvalidAttributeValueException
enabled - - enable or disable credential caching
InvalidAttributeValueException#getEnableCredentialCaching()int getCredentialsCacheSize()
void setCredentialsCacheSize(int max)
                             throws InvalidAttributeValueException
max - - the new maximum number of credentials in the cache
InvalidAttributeValueException#getMaxCredentialsInCache()int getCredentialCacheTTL()
void setCredentialCacheTTL(int TTL)
                           throws InvalidAttributeValueException
TTL - - sets the time (in seconds) for a credential entry to valid in the cache
InvalidAttributeValueException#getCredentailCacheTTL()| 
 | Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||