Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ispok.service; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException; /** * * @author Jan Mucha <j.mucha@seznam.cz> */ public class MyAuthenticationService implements UserDetailsService { @Override public UserDetails loadUserByUsername(String string) throws UsernameNotFoundException { UserDetails ud; throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }