Class DummyUserService

  • All Implemented Interfaces:
    org.springframework.security.core.userdetails.UserDetailsService

    public class DummyUserService
    extends Object
    implements org.springframework.security.core.userdetails.UserDetailsService
    Spring security configuration seems to require a user detail service. I played with it for a while and couldn't see how to get around this requirement. This class doesn't seem to be called by the security framework at all.
    Version:
    $Id$
    Author:
    Daniel Bernstein
    • Constructor Detail

      • DummyUserService

        public DummyUserService()
    • Method Detail

      • loadUserByUsername

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