org.springframework.security.oauth2.provider.client.ClientDetailsUserDetailsService Java Examples

The following examples show how to use org.springframework.security.oauth2.provider.client.ClientDetailsUserDetailsService. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ClientAndUserDetailsService.java    From mobilecloud-15 with Apache License 2.0 5 votes vote down vote up
public ClientAndUserDetailsService(ClientDetailsService clients,
		UserDetailsService users) {
	super();
	clients_ = clients;
	users_ = users;
	clientDetailsWrapper_ = new ClientDetailsUserDetailsService(clients_);
}
 
Example #2
Source File: CustomPathsConfigurer.java    From OAuth-2.0-Cookbook with MIT License 4 votes vote down vote up
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
    ClientDetailsUserDetailsService userDetailsService
        = new ClientDetailsUserDetailsService(clientDetailsService);
    auth.userDetailsService(userDetailsService);
}