org.apache.cxf.ws.security.tokenstore
Class TokenStoreFactory
java.lang.Object
org.apache.cxf.ws.security.tokenstore.TokenStoreFactory
- Direct Known Subclasses:
- EHCacheTokenStoreFactory, MemoryTokenStoreFactory
public abstract class TokenStoreFactory
- extends Object
An abstract factory to return a TokenStore instance. It returns an EHCacheTokenStoreFactory
if EH-Cache is available. Otherwise it returns a MemoryTokenStoreFactory.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenStoreFactory
public TokenStoreFactory()
isEhCacheInstalled
protected static boolean isEhCacheInstalled()
newInstance
public static TokenStoreFactory newInstance()
newTokenStore
public abstract TokenStore newTokenStore(String key,
Message message)
getConfigFileURL
protected URL getConfigFileURL(Message message)
Apache CXF