Java源码示例:org.springframework.security.oauth2.provider.client.ClientDetailsUserDetailsService

示例1
public ClientAndUserDetailsService(ClientDetailsService clients,
		UserDetailsService users) {
	super();
	clients_ = clients;
	users_ = users;
	clientDetailsWrapper_ = new ClientDetailsUserDetailsService(clients_);
}
 
示例2
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
    ClientDetailsUserDetailsService userDetailsService
        = new ClientDetailsUserDetailsService(clientDetailsService);
    auth.userDetailsService(userDetailsService);
}