org.springframework.security.oauth2.client.filter.state
Class DefaultStateKeyGenerator
java.lang.Object
org.springframework.security.oauth2.client.filter.state.DefaultStateKeyGenerator
- All Implemented Interfaces:
- StateKeyGenerator
public class DefaultStateKeyGenerator
- extends Object
- implements StateKeyGenerator
- Author:
- Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStateKeyGenerator
public DefaultStateKeyGenerator()
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 © 2013. All rights reserved.