public class ServiceNonceCache extends Object
| Constructor and Description |
|---|
ServiceNonceCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNonceForService(String service,
String userName,
String nonceValue,
int nonceLifeTime)
This method will add a nonce value for a given service.
|
boolean |
isNonceRepeatingForService(String service,
String userName,
String nonceValue)
This method will check whether the nonce value is repeating for the given service.
|
public void addNonceForService(String service, String userName, String nonceValue, int nonceLifeTime)
service - The service url.userName - Given user name.nonceValue - Passed nonce value.nonceLifeTime - Maximum life span of a nonce value.public boolean isNonceRepeatingForService(String service, String userName, String nonceValue)
service - The service url.userName - User name.nonceValue - Nonce value.Copyright © Apache Software Foundation. All Rights Reserved.