org.springframework.security.oauth2.client.filter.state
Class DefaultStateKeyGenerator

java.lang.Object
  extended by org.springframework.security.oauth2.client.filter.state.DefaultStateKeyGenerator
All Implemented Interfaces:
StateKeyGenerator

public class DefaultStateKeyGenerator
extends Object
implements StateKeyGenerator

Author:
Dave Syer

Constructor Summary
DefaultStateKeyGenerator()
           
 
Method Summary
 String generateKey(OAuth2ProtectedResourceDetails resource)
          Generate a key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStateKeyGenerator

public DefaultStateKeyGenerator()
Method Detail

generateKey

public String generateKey(OAuth2ProtectedResourceDetails resource)
Description copied from interface: StateKeyGenerator
Generate a key.

Specified by:
generateKey in interface StateKeyGenerator
Parameters:
resource - the resource to generate the key for
Returns:
a unique key for the state. Never null.


Copyright © 2012. All Rights Reserved.