org.springframework.security.oauth2.provider.client
Class ClientDetailsUserDetailsService

java.lang.Object
  extended by org.springframework.security.oauth2.provider.client.ClientDetailsUserDetailsService
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

public class ClientDetailsUserDetailsService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService

Author:
Dave Syer

Constructor Summary
ClientDetailsUserDetailsService(ClientDetailsService clientDetailsService)
           
 
Method Summary
 org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username)
           
 void setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientDetailsUserDetailsService

public ClientDetailsUserDetailsService(ClientDetailsService clientDetailsService)
Method Detail

setPasswordEncoder

public void setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
Parameters:
passwordEncoder - the password encoder to set

loadUserByUsername

public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username)
                                                                             throws org.springframework.security.core.userdetails.UsernameNotFoundException
Specified by:
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService
Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException


Copyright © 2012. All Rights Reserved.