@ManagedResource public class EHCacheIdentityCache extends AbstractIdentityCache implements Closeable, org.apache.cxf.buslifecycle.BusLifeCycleListener
| Constructor and Description |
|---|
EHCacheIdentityCache(IdentityMapper identityMapper,
org.apache.cxf.Bus b) |
EHCacheIdentityCache(IdentityMapper identityMapper,
String key,
org.apache.cxf.Bus b,
URL configFileURL) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String user,
String realm,
Map<String,String> identities) |
void |
close() |
Map<String,String> |
get(String user,
String realm) |
String |
getContent() |
ObjectName |
getObjectName() |
void |
initComplete() |
void |
postShutdown() |
void |
preShutdown() |
void |
remove(String user,
String realm) |
getBus, getStatistics, mapPrincipal, setStatisticspublic EHCacheIdentityCache(IdentityMapper identityMapper, org.apache.cxf.Bus b)
public EHCacheIdentityCache(IdentityMapper identityMapper, String key, org.apache.cxf.Bus b, URL configFileURL)
public void add(String user, String realm, Map<String,String> identities)
add in interface IdentityCache@ManagedOperation public Map<String,String> get(String user, String realm)
get in interface IdentityCachepublic void remove(String user, String realm)
remove in interface IdentityCache@ManagedOperation public String getContent()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic void initComplete()
initComplete in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerpublic void preShutdown()
preShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerpublic void postShutdown()
postShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerpublic ObjectName getObjectName() throws JMException
getObjectName in interface org.apache.cxf.management.ManagedComponentJMExceptionApache CXF