Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02

weblogic.management.security.authentication
Interface GroupMembershipHierarchyCacheMBean

All Known Subinterfaces:
ActiveDirectoryAuthenticatorMBean, CustomDBMSAuthenticatorMBean, DBMSAuthenticatorMBean, DefaultAuthenticatorMBean, IPlanetAuthenticatorMBean, LDAPAuthenticatorMBean, NovellAuthenticatorMBean, OpenLDAPAuthenticatorMBean, OracleInternetDirectoryAuthenticatorMBean, OracleVirtualDirectoryAuthenticatorMBean, ReadOnlySQLAuthenticatorMBean, SQLAuthenticatorMBean

public interface GroupMembershipHierarchyCacheMBean

Defines methods used to get/set the configuration attributes that are required to support the Group Membership Hierarchy Cache.

Deprecation of MBeanHome and Type-Safe Interfaces

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
 Boolean getEnableGroupMembershipLookupHierarchyCaching()
          Returns whether group membership hierarchies found during recursive membership lookup will be cached.
 Integer getGroupHierarchyCacheTTL()
          Returns the maximum number of seconds a group membership hierarchy entry is valid in the LRU cache.
 Integer getMaxGroupHierarchiesInCache()
          Returns the maximum size of the LRU cache for holding group membership hierarchies if caching is enabled.
 void setEnableGroupMembershipLookupHierarchyCaching(Boolean enabled)
          Sets whether to cache group membership hierarchies found during recursive membership lookup.
 void setGroupHierarchyCacheTTL(Integer TTL)
          Sets the maximum number of seconds a group membership hierarchy entry is valid in the LRU cache.
 void setMaxGroupHierarchiesInCache(Integer max)
          Sets the maximum size of the LRU cache for holding group membership hierarchies if caching is enabled.
 

Method Detail

getEnableGroupMembershipLookupHierarchyCaching

Boolean getEnableGroupMembershipLookupHierarchyCaching()
Returns whether group membership hierarchies found during recursive membership lookup will be cached. If true, each subtree found will be cached.

Default Value:
new Boolean(false)

setEnableGroupMembershipLookupHierarchyCaching

void setEnableGroupMembershipLookupHierarchyCaching(Boolean enabled)
                                                    throws InvalidAttributeValueException
Sets whether to cache group membership hierarchies found during recursive membership lookup. If true, each subtree found will be cached.

Parameters:
enabled - - new enable group membership lookup hierarchy caching value
Throws:
InvalidAttributeValueException
See Also:
GroupMembershipHierarchyCacheMBean.getEnableGroupMembershipLookupHierarchyCaching()

getMaxGroupHierarchiesInCache

Integer getMaxGroupHierarchiesInCache()
Returns the maximum size of the LRU cache for holding group membership hierarchies if caching is enabled.

Default Value:
new Integer(100)

setMaxGroupHierarchiesInCache

void setMaxGroupHierarchiesInCache(Integer max)
                                   throws InvalidAttributeValueException
Sets the maximum size of the LRU cache for holding group membership hierarchies if caching is enabled.

Parameters:
max - - the new maximum number of group hierarchies in the cache
Throws:
InvalidAttributeValueException
See Also:
GroupMembershipHierarchyCacheMBean.getMaxGroupHierarchiesInCache()

getGroupHierarchyCacheTTL

Integer getGroupHierarchyCacheTTL()
Returns the maximum number of seconds a group membership hierarchy entry is valid in the LRU cache.

Default Value:
new Integer(60)

setGroupHierarchyCacheTTL

void setGroupHierarchyCacheTTL(Integer TTL)
                               throws InvalidAttributeValueException
Sets the maximum number of seconds a group membership hierarchy entry is valid in the LRU cache.

Parameters:
TTL - - the new group hierarchy cache time to live in seconds.
Throws:
InvalidAttributeValueException
See Also:
GroupMembershipHierarchyCacheMBean.getGroupHierarchyCacheTTL()

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, 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 10.3.1 MBean API Reference
11g Release 1 (10.3.1)

Part Number E13945-02