public class NullNonceServices extends Object implements OAuthNonceServices
| Constructor and Description |
|---|
NullNonceServices() |
| Modifier and Type | Method and Description |
|---|---|
void |
validateNonce(ConsumerDetails consumerDetails,
long timestamp,
String nonce)
Validate a nonce for a specific consumer timestamp.
|
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.Copyright © 2019. All rights reserved.