org.apache.cxf.sts.cache
Class HazelCastTokenStore
java.lang.Object
org.apache.cxf.sts.cache.HazelCastTokenStore
- All Implemented Interfaces:
- org.apache.cxf.ws.security.tokenstore.TokenStore
public class HazelCastTokenStore
- extends Object
- implements org.apache.cxf.ws.security.tokenstore.TokenStore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TTL
public static final long DEFAULT_TTL
- See Also:
- Constant Field Values
MAX_TTL
public static final long MAX_TTL
- See Also:
- Constant Field Values
HazelCastTokenStore
public HazelCastTokenStore(String mapName)
setTTL
public void setTTL(long newTtl)
- Set a new (default) TTL value in seconds
- Parameters:
newTtl - a new (default) TTL value in seconds
getTTL
public long getTTL()
- Get the (default) TTL value in seconds
- Returns:
- the (default) TTL value in seconds
add
public void add(org.apache.cxf.ws.security.tokenstore.SecurityToken token)
- Specified by:
add in interface org.apache.cxf.ws.security.tokenstore.TokenStore
add
public void add(String identifier,
org.apache.cxf.ws.security.tokenstore.SecurityToken token)
- Specified by:
add in interface org.apache.cxf.ws.security.tokenstore.TokenStore
remove
public void remove(String identifier)
- Specified by:
remove in interface org.apache.cxf.ws.security.tokenstore.TokenStore
getTokenIdentifiers
public Collection<String> getTokenIdentifiers()
- Specified by:
getTokenIdentifiers in interface org.apache.cxf.ws.security.tokenstore.TokenStore
getExpiredTokens
public Collection<org.apache.cxf.ws.security.tokenstore.SecurityToken> getExpiredTokens()
- Specified by:
getExpiredTokens in interface org.apache.cxf.ws.security.tokenstore.TokenStore
getToken
public org.apache.cxf.ws.security.tokenstore.SecurityToken getToken(String identifier)
- Specified by:
getToken in interface org.apache.cxf.ws.security.tokenstore.TokenStore
Apache CXF