public interface WSSCacheRepository
WSSCacheRepository
stores the Web services
security related cache information. This cache is primarily used to
prevent wss security related replay attacks.
This interface helps the ws-security deployers to store the state of
the cache persistently.Modifier and Type | Method and Description |
---|---|
Long |
retrieveMessageTimestamp(String messageID,
String wsp)
Returns the message timestamp for a given messageID.
|
Set |
retrieveUserTokenNonce(String timestamp,
String wsp)
Retrieves the stored user name token nonce cache.
|
void |
saveMessageTimestamp(String messageID,
Long timestamp,
String wsp)
Saves the message timestamp using the given messageID
|
void |
saveUserTokenNonce(String timestamp,
Set nonces,
String wsp)
Saves the user name token nonces for a given timestamp.
|
Set retrieveUserTokenNonce(String timestamp, String wsp)
timestamp
- timestamp is the key for the nonce cache.void saveUserTokenNonce(String timestamp, Set nonces, String wsp)
timestamp
- the timestamp is the index for the cache.nonces
- the set of nonces that must be stored.wsp
- the web services provider name.Long retrieveMessageTimestamp(String messageID, String wsp)
messageID
- the messageID from the SOAP request.wsp
- the web services provider name.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.