public class DefaultSTSTokenCacher extends Object implements STSTokenCacher
Constructor and Description |
---|
DefaultSTSTokenCacher() |
Modifier and Type | Method and Description |
---|---|
void |
removeToken(Message message,
SecurityToken securityToken)
Remove a cached STS token
|
SecurityToken |
retrieveToken(Message message,
boolean retrieveTokenFromEndpoint)
Retrieve a cached STS token.
|
SecurityToken |
retrieveToken(Message message,
Element delegationToken,
String cacheKey)
Retrieve a cached STS token for a given delegation token Element
|
void |
storeToken(Message message,
Element delegationToken,
String secTokenId,
String cacheKey)
Store a given delegation token in the cache (or update it if it's already there), with a reference to the
security token obtained from the STS.
|
void |
storeToken(Message message,
SecurityToken securityToken,
boolean storeTokenInEndpoint)
Store a token in the cache.
|
public SecurityToken retrieveToken(Message message, boolean retrieveTokenFromEndpoint)
STSTokenCacher
retrieveToken
in interface STSTokenCacher
public SecurityToken retrieveToken(Message message, Element delegationToken, String cacheKey)
STSTokenCacher
retrieveToken
in interface STSTokenCacher
public void storeToken(Message message, SecurityToken securityToken, boolean storeTokenInEndpoint)
STSTokenCacher
storeToken
in interface STSTokenCacher
public void storeToken(Message message, Element delegationToken, String secTokenId, String cacheKey)
STSTokenCacher
storeToken
in interface STSTokenCacher
public void removeToken(Message message, SecurityToken securityToken)
STSTokenCacher
removeToken
in interface STSTokenCacher
Apache CXF