@RefreshScope
public class ClientDetailService
extends java.lang.Object
implements org.springframework.security.oauth2.provider.ClientDetailsService
| Constructor and Description |
|---|
ClientDetailService() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.provider.ClientDetails |
initMemoryClient(java.lang.String clientId)
为测试方便,提供一个内存中构建客户端信息的方法
|
org.springframework.security.oauth2.provider.ClientDetails |
loadClientByClientId(java.lang.String clientId) |
@Transactional
public org.springframework.security.oauth2.provider.ClientDetails loadClientByClientId(java.lang.String clientId)
throws org.springframework.security.oauth2.provider.ClientRegistrationException
loadClientByClientId in interface org.springframework.security.oauth2.provider.ClientDetailsServiceorg.springframework.security.oauth2.provider.ClientRegistrationExceptionpublic org.springframework.security.oauth2.provider.ClientDetails initMemoryClient(java.lang.String clientId)
clientId -