org.springframework.security.oauth2.provider.code
类 InMemoryAuthorizationCodeServices

java.lang.Object
  继承者 org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
      继承者 org.springframework.security.oauth2.provider.code.InMemoryAuthorizationCodeServices
所有已实现的接口:
AuthorizationCodeServices

public class InMemoryAuthorizationCodeServices
extends RandomValueAuthorizationCodeServices

Implementation of authorization code services that stores the codes and authentication in memory.

作者:
Ryan Heaton, Dave Syer

字段摘要
protected  ConcurrentHashMap<String,OAuth2Authentication> authorizationCodeStore
           
 
构造方法摘要
InMemoryAuthorizationCodeServices()
           
 
方法摘要
 OAuth2Authentication remove(String code)
           
protected  void store(String code, OAuth2Authentication authentication)
           
 
从类 org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices 继承的方法
consumeAuthorizationCode, createAuthorizationCode
 
从类 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)
指定者:
RandomValueAuthorizationCodeServices 中的 store

remove

public OAuth2Authentication remove(String code)
指定者:
RandomValueAuthorizationCodeServices 中的 remove


Copyright © 2013. All rights reserved.