Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.security.credentials
Interface CredentialCacheMBean

All Superinterfaces:
DescriptorBean, SettableBean, StandardInterface

public interface CredentialCacheMBean
extends StandardInterface, DescriptorBean

Defines methods used to get/set the configuration attributes that are required to support the credential cache.


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.
 
Methods inherited from interface weblogic.management.commo.StandardInterface
getName
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

isCredentialCachingEnabled

boolean isCredentialCachingEnabled()
Returns whether non-null credentials are cached by the credential mappers

Default Value:
false

setCredentialCachingEnabled

void setCredentialCachingEnabled(boolean enabled)
                                 throws InvalidAttributeValueException
Sets whether credentials, if found, should be cached by the mappers

Parameters:
enabled - - enable or disable credential caching
Throws:
InvalidAttributeValueException
See Also:
CredentialCacheMBean.isCredentialCachingEnabled()

getCredentialsCacheSize

int getCredentialsCacheSize()
Returns the maximum size of the LRU cache for holding credentials if caching is enabled.

Default Value:
100

setCredentialsCacheSize

void setCredentialsCacheSize(int max)
                             throws InvalidAttributeValueException
Sets the maximum size of the LRU cache for holding credentails if caching is enabled.

Parameters:
max - - the new maximum number of credentials in the cache
Throws:
InvalidAttributeValueException
See Also:
CredentialCacheMBean.getCredentialsCacheSize()

getCredentialCacheTTL

int getCredentialCacheTTL()
Returns the maximum number of seconds a credential entry is valid in the LRU cache.

Default Value:
600

setCredentialCacheTTL

void setCredentialCacheTTL(int TTL)
                           throws InvalidAttributeValueException
Sets the maximum number of seconds a credential entry is valid in the LRU cache.

Parameters:
TTL - - sets the time (in seconds) for a credential entry to valid in the cache
Throws:
InvalidAttributeValueException
See Also:
CredentialCacheMBean.getCredentialCacheTTL()

Copyright 1996, 2013, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02