Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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
abstract  int getCredentialCacheTTL()
          Returns the maximum number of seconds a credential entry is valid in the LRU cache.
abstract  int getCredentialsCacheSize()
          Returns the maximum size of the LRU cache for holding credentials if caching is enabled.
abstract  boolean isCredentialCachingEnabled()
          Returns whether non-null credentials are cached by the credential mappers
abstract  void setCredentialCacheTTL(int TTL)
          Sets the maximum number of seconds a credential entry is valid in the LRU cache.
abstract  void setCredentialCachingEnabled(boolean enabled)
          Sets whether credentials, if found, should be cached by the mappers
abstract  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

 

Method Detail

isCredentialCachingEnabled

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

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.

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.

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()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09