public class AuthenticationCacheEvictionListener
extends Object
implements org.infinispan.util.concurrent.BoundedConcurrentHashMap.EvictionListener<Principal,org.jboss.security.authentication.JBossCachedAuthenticationManager.DomainInfo>
Listener to perform a JAAS logout when an entry is evicted from the cache.
public void onEntryEviction(Map<Principal,org.jboss.security.authentication.JBossCachedAuthenticationManager.DomainInfo> evicted)
Specified by:
onEntryEviction in interface org.infinispan.util.concurrent.BoundedConcurrentHashMap.EvictionListener<Principal,org.jboss.security.authentication.JBossCachedAuthenticationManager.DomainInfo>
onEntryChosenForEviction
public void onEntryChosenForEviction(org.jboss.security.authentication.JBossCachedAuthenticationManager.DomainInfo arg0)
Specified by:
onEntryChosenForEviction in interface org.infinispan.util.concurrent.BoundedConcurrentHashMap.EvictionListener<Principal,org.jboss.security.authentication.JBossCachedAuthenticationManager.DomainInfo>