org.springframework.security.oauth2.provider.code
Class InMemoryAuthorizationCodeServices
java.lang.Object
org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
org.springframework.security.oauth2.provider.code.InMemoryAuthorizationCodeServices
- All Implemented Interfaces:
- AuthorizationCodeServices
public class InMemoryAuthorizationCodeServices
- extends RandomValueAuthorizationCodeServices
Implementation of authorization code services that stores the codes and authentication in memory.
- Author:
- Ryan Heaton, Dave Syer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authorizationCodeStore
protected final ConcurrentHashMap<String,OAuth2Authentication> authorizationCodeStore
InMemoryAuthorizationCodeServices
public InMemoryAuthorizationCodeServices()
store
protected void store(String code,
OAuth2Authentication authentication)
- Specified by:
store in class RandomValueAuthorizationCodeServices
remove
public OAuth2Authentication remove(String code)
- Specified by:
remove in class RandomValueAuthorizationCodeServices
Copyright © 2013. All rights reserved.