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)
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)
Store a token in the cache
|
public SecurityToken retrieveToken(Message message)
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)
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
Copyright © 2017 JBoss by Red Hat. All rights reserved.