org.jboss.security.cache
Class JBossAuthenticationCache

java.lang.Object
  extended by org.jboss.security.cache.JBossAuthenticationCache
All Implemented Interfaces:
org.jboss.security.cache.SecurityCache<Principal>

public class JBossAuthenticationCache
extends Object
implements org.jboss.security.cache.SecurityCache<Principal>

Authentication Cache keyed in by Principal

Since:
May 13, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Constructor Summary
JBossAuthenticationCache()
           
JBossAuthenticationCache(int initCapacity, float loadFactor, int level)
           
 
Method Summary
 void addCacheEntry(Principal principal, Map<String,Object> map)
           
 boolean cacheHit(Principal principal)
           
 void cacheOperation(Principal principal, Map<String,Object> map)
           
<Y> Y
get(Principal key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossAuthenticationCache

public JBossAuthenticationCache()

JBossAuthenticationCache

public JBossAuthenticationCache(int initCapacity,
                                float loadFactor,
                                int level)
Method Detail

addCacheEntry

public void addCacheEntry(Principal principal,
                          Map<String,Object> map)
                   throws org.jboss.security.cache.SecurityCacheException
Specified by:
addCacheEntry in interface org.jboss.security.cache.SecurityCache<Principal>
Throws:
org.jboss.security.cache.SecurityCacheException
See Also:
SecurityCache.addCacheEntry(Object, Map)

cacheHit

public boolean cacheHit(Principal principal)
Specified by:
cacheHit in interface org.jboss.security.cache.SecurityCache<Principal>
See Also:
SecurityCache.cacheHit(Object)

cacheOperation

public void cacheOperation(Principal principal,
                           Map<String,Object> map)
                    throws org.jboss.security.cache.SecurityCacheException
Specified by:
cacheOperation in interface org.jboss.security.cache.SecurityCache<Principal>
Throws:
org.jboss.security.cache.SecurityCacheException
See Also:
SecurityCache.cacheOperation(Object, Map)

get

public <Y> Y get(Principal key)
      throws org.jboss.security.cache.SecurityCacheException
Specified by:
get in interface org.jboss.security.cache.SecurityCache<Principal>
Throws:
org.jboss.security.cache.SecurityCacheException
See Also:
SecurityCache.get(Object)


Copyright © 2009 JBoss Inc.. All Rights Reserved.