org.springframework.security.oauth2.provider.token
类 DefaultAuthenticationKeyGenerator

java.lang.Object
  继承者 org.springframework.security.oauth2.provider.token.DefaultAuthenticationKeyGenerator
所有已实现的接口:
AuthenticationKeyGenerator

public class DefaultAuthenticationKeyGenerator
extends Object
implements AuthenticationKeyGenerator

Basic key generator taking into account the client id, scope, reource ids and username (principal name) if they exist.

作者:
Dave Syer

构造方法摘要
DefaultAuthenticationKeyGenerator()
           
 
方法摘要
 String extractKey(OAuth2Authentication authentication)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DefaultAuthenticationKeyGenerator

public DefaultAuthenticationKeyGenerator()
方法详细信息

extractKey

public String extractKey(OAuth2Authentication authentication)
指定者:
接口 AuthenticationKeyGenerator 中的 extractKey
参数:
authentication - an OAuth2Authentication
返回:
a unique key identifying the authentication


Copyright © 2013. All rights reserved.