SessionNonceManagerSimpleNonceManagerpublic interface NonceManager
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
nextNonce(java.lang.String lastNonce,
HttpServerExchange exchange) |
Select the next nonce to be sent from the server taking into account the last valid nonce.
|
boolean |
validateNonce(java.lang.String nonce,
int nonceCount,
HttpServerExchange exchange) |
Validate that a nonce can be used.
|
java.lang.String nextNonce(java.lang.String lastNonce,
HttpServerExchange exchange)
lastNonce - - The last valid nonce received from the client or null if we don't already have a nonce.boolean validateNonce(java.lang.String nonce,
int nonceCount,
HttpServerExchange exchange)
nonce - - The nonce received from the client.nonceCount - - The nonce count from the client or -1 of none specified.Copyright © 2018. All rights reserved.