public class JBossAuthenticationCache extends Object implements SecurityCache<Principal>
Constructor and Description |
---|
JBossAuthenticationCache() |
JBossAuthenticationCache(int initCapacity,
float loadFactor,
int level) |
Modifier and Type | Method and Description |
---|---|
void |
addCacheEntry(Principal principal,
Map<String,Object> map)
Add a cache entry
|
boolean |
cacheHit(Principal principal)
Cache Entry present?
|
void |
cacheOperation(Principal principal,
Map<String,Object> map)
Perform a cache operation
|
<Y> Y |
get(Principal key)
Get Cache Entry
|
public JBossAuthenticationCache()
public JBossAuthenticationCache(int initCapacity, float loadFactor, int level)
public void addCacheEntry(Principal principal, Map<String,Object> map) throws SecurityCacheException
SecurityCache
addCacheEntry
in interface SecurityCache<Principal>
map
- a contextual mapSecurityCacheException
SecurityCache.addCacheEntry(Object, Map)
public boolean cacheHit(Principal principal)
SecurityCache
cacheHit
in interface SecurityCache<Principal>
principal
- Key for the cache entrySecurityCache.cacheHit(Object)
public void cacheOperation(Principal principal, Map<String,Object> map) throws SecurityCacheException
SecurityCache
cacheOperation
in interface SecurityCache<Principal>
principal
- Key for the cache entrymap
- A contextual mapSecurityCacheException
SecurityCache.cacheOperation(Object, Map)
public <Y> Y get(Principal key) throws SecurityCacheException
SecurityCache
get
in interface SecurityCache<Principal>
SecurityCacheException
SecurityCache.get(Object)
Copyright © 2019 JBoss by Red Hat. All rights reserved.