Package org.apache.cxf.sts.cache
Class MemoryIdentityCache
java.lang.Object
org.apache.cxf.sts.cache.AbstractIdentityCache
org.apache.cxf.sts.cache.MemoryIdentityCache
- All Implemented Interfaces:
ManagedComponent,IdentityCache,IdentityMapper
A simple in-memory HashMap based cache to cache identities in different realms where
the relationship is of type FederateIdentity.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMemoryIdentityCache(Bus bus, IdentityMapper identityMapper) MemoryIdentityCache(IdentityMapper identityMapper) -
Method Summary
Methods inherited from class org.apache.cxf.sts.cache.AbstractIdentityCache
getBus, getStatistics, mapPrincipal, setStatistics
-
Constructor Details
-
MemoryIdentityCache
protected MemoryIdentityCache() -
MemoryIdentityCache
-
MemoryIdentityCache
-
-
Method Details
-
getMaxCacheItems
public long getMaxCacheItems() -
setMaxCacheItems
public void setMaxCacheItems(long maxCacheItems) -
add
-
get
-
remove
-
getContent
-
getObjectName
- Throws:
JMException
-