org.springframework.security.oauth2.provider.implicit
Class InMemoryImplicitGrantService

java.lang.Object
  extended by org.springframework.security.oauth2.provider.implicit.InMemoryImplicitGrantService
All Implemented Interfaces:
ImplicitGrantService

public class InMemoryImplicitGrantService
extends Object
implements ImplicitGrantService

In-memory implementation of the ImplicitGrantService.

Author:
Amanda Anganes

Field Summary
protected  ConcurrentHashMap<TokenRequest,OAuth2Request> requestStore
           
 
Constructor Summary
InMemoryImplicitGrantService()
           
 
Method Summary
 OAuth2Request remove(TokenRequest tokenRequest)
          Look up and return the OAuth2Request associated with the given TokenRequest.
 void store(OAuth2Request originalRequest, TokenRequest tokenRequest)
          Save an association between an OAuth2Request and a TokenRequest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestStore

protected final ConcurrentHashMap<TokenRequest,OAuth2Request> requestStore
Constructor Detail

InMemoryImplicitGrantService

public InMemoryImplicitGrantService()
Method Detail

store

public void store(OAuth2Request originalRequest,
                  TokenRequest tokenRequest)
Description copied from interface: ImplicitGrantService
Save an association between an OAuth2Request and a TokenRequest.

Specified by:
store in interface ImplicitGrantService

remove

public OAuth2Request remove(TokenRequest tokenRequest)
Description copied from interface: ImplicitGrantService
Look up and return the OAuth2Request associated with the given TokenRequest.

Specified by:
remove in interface ImplicitGrantService
Returns:


Copyright © 2013. All rights reserved.