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

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

public class JdbcAuthorizationCodeServices
extends RandomValueAuthorizationCodeServices

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

作者:
Ken Dombeck, Dave Syer

构造方法摘要
JdbcAuthorizationCodeServices(DataSource dataSource)
           
 
方法摘要
 OAuth2Authentication remove(String code)
           
 void setDeleteAuthenticationSql(String deleteAuthenticationSql)
           
 void setInsertAuthenticationSql(String insertAuthenticationSql)
           
 void setSelectAuthenticationSql(String selectAuthenticationSql)
           
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
 

构造方法详细信息

JdbcAuthorizationCodeServices

public JdbcAuthorizationCodeServices(DataSource dataSource)
方法详细信息

store

protected void store(String code,
                     OAuth2Authentication authentication)
指定者:
RandomValueAuthorizationCodeServices 中的 store

remove

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

setSelectAuthenticationSql

public void setSelectAuthenticationSql(String selectAuthenticationSql)

setInsertAuthenticationSql

public void setInsertAuthenticationSql(String insertAuthenticationSql)

setDeleteAuthenticationSql

public void setDeleteAuthenticationSql(String deleteAuthenticationSql)


Copyright © 2013. All rights reserved.