@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 |
loadClientByClientId(java.lang.String clientId)
根据客户端clientid检查客户端有效性,如果有效,则封装为oauth2客户端对象
|
@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.ClientDetailsServiceclientId - org.springframework.security.oauth2.provider.ClientRegistrationExceptionClientDetailsService.loadClientByClientId(java.lang.String)