Class PlainUsernamePasswordUserDetailsService

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.security.core.userdetails.UserDetailsService

    @Service
    @Configuration
    public class PlainUsernamePasswordUserDetailsService
    extends Object
    implements org.springframework.security.core.userdetails.UserDetailsService, org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • PlainUsernamePasswordUserDetailsService

        public PlainUsernamePasswordUserDetailsService()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • 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