@Deprecated public class ExpiringTimestampNonceServices extends Object implements OAuthNonceServices
| Constructor and Description |
|---|
ExpiringTimestampNonceServices()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getValidityWindowSeconds()
Deprecated.
Set the timestamp validity window (in seconds).
|
void |
setValidityWindowSeconds(long validityWindowSeconds)
Deprecated.
The timestamp validity window (in seconds).
|
void |
validateNonce(ConsumerDetails consumerDetails,
long timestamp,
String nonce)
Deprecated.
Validate a nonce for a specific consumer timestamp.
|
public ExpiringTimestampNonceServices()
public void validateNonce(ConsumerDetails consumerDetails, long timestamp, String nonce) throws org.springframework.security.core.AuthenticationException
OAuthNonceServicesvalidateNonce in interface OAuthNonceServicesconsumerDetails - The consumer details.timestamp - The timestamp.nonce - The nonce.org.springframework.security.core.AuthenticationException - If the nonce failed to validate.public long getValidityWindowSeconds()
public void setValidityWindowSeconds(long validityWindowSeconds)
validityWindowSeconds - the timestamp validity window (in seconds).Copyright © 2020. All rights reserved.