org.springframework.security.oauth.consumer.nonce
Class UUIDNonceFactory

java.lang.Object
  extended by 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

Constructor Summary
UUIDNonceFactory()
           
 
Method Summary
 String generateNonce()
          Generate a nonce.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUIDNonceFactory

public UUIDNonceFactory()
Method Detail

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 © 2012. All Rights Reserved.