org.springframework.security.oauth.consumer.nonce
Class UUIDNonceFactory
java.lang.Object
org.springframework.security.oauth.consumer.nonce.UUIDNonceFactory
- All Implemented Interfaces:
- NonceFactory
public class UUIDNonceFactory
- extends Object
- implements NonceFactory
Nonce factory that uses a UUID to generate the nonce.
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UUIDNonceFactory
public UUIDNonceFactory()
generateNonce
public String generateNonce()
- Description copied from interface:
NonceFactory
- Generate a nonce.
- Specified by:
generateNonce in interface NonceFactory
- Returns:
- The nonce that was generated.
Copyright © 2013. All rights reserved.