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
SecurityCacheaddCacheEntry in interface SecurityCache<Principal>map - a contextual mapSecurityCacheExceptionSecurityCache.addCacheEntry(Object, Map)public boolean cacheHit(Principal principal)
SecurityCachecacheHit in interface SecurityCache<Principal>principal - Key for the cache entrySecurityCache.cacheHit(Object)public void cacheOperation(Principal principal, Map<String,Object> map) throws SecurityCacheException
SecurityCachecacheOperation in interface SecurityCache<Principal>principal - Key for the cache entrymap - A contextual mapSecurityCacheExceptionSecurityCache.cacheOperation(Object, Map)public <Y> Y get(Principal key) throws SecurityCacheException
SecurityCacheget in interface SecurityCache<Principal>SecurityCacheExceptionSecurityCache.get(Object)Copyright © 2017 JBoss by Red Hat. All rights reserved.