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
| 从类 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.