Class UserDetailsServiceDefaultImpl

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

    public class UserDetailsServiceDefaultImpl
    extends Object
    implements org.springframework.security.core.userdetails.UserDetailsService
    Proposed default impl for UserDetailsService that users UserService and PermissionService
    Author:
    sergeyk
    • Constructor Detail

      • UserDetailsServiceDefaultImpl

        public UserDetailsServiceDefaultImpl()
    • Method Detail

      • loadUserByUsername

        public org.springframework.security.core.userdetails.UserDetails loadUserByUsername​(String userEmail)
                                                                                     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
      • setUserService

        @Autowired
        public void setUserService​(UserService userService)
      • setPermissionService

        @Autowired
        public void setPermissionService​(PermissionService permissionService)