public abstract class AbstractIdentityCache extends Object implements IdentityCache, IdentityMapper, ManagedComponent
Constructor and Description |
---|
AbstractIdentityCache(Bus bus,
IdentityMapper identityMapper) |
AbstractIdentityCache(IdentityMapper identityMapper) |
Modifier and Type | Method and Description |
---|---|
protected Bus |
getBus() |
MemoryIdentityCacheStatistics |
getStatistics() |
Principal |
mapPrincipal(String sourceRealm,
Principal sourcePrincipal,
String targetRealm)
Map a principal in the source realm to the target realm
|
void |
setStatistics(MemoryIdentityCacheStatistics stats) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, clear, get, remove, size
getObjectName
public AbstractIdentityCache(IdentityMapper identityMapper)
public AbstractIdentityCache(Bus bus, IdentityMapper identityMapper)
public Principal mapPrincipal(String sourceRealm, Principal sourcePrincipal, String targetRealm)
IdentityMapper
mapPrincipal
in interface IdentityMapper
sourceRealm
- the source realm of the PrincipalsourcePrincipal
- the principal in the source realmtargetRealm
- the target realm of the Principalpublic MemoryIdentityCacheStatistics getStatistics()
public void setStatistics(MemoryIdentityCacheStatistics stats)
protected Bus getBus()
Copyright © 2017 JBoss by Red Hat. All rights reserved.