Class UserDetailsServiceImpl

java.lang.Object
org.xbricks.common.generic.services.security.UserDetailsServiceImpl
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

@Service("userDetailsService") @Transactional public class UserDetailsServiceImpl extends Object implements org.springframework.security.core.userdetails.UserDetailsService
  • Constructor Details

    • UserDetailsServiceImpl

      public UserDetailsServiceImpl()
    • UserDetailsServiceImpl

      @Autowired public UserDetailsServiceImpl(UserRepository userRepository)
  • Method Details

    • setUserUserDetailsConverter

      @Autowired @Qualifier("userToUserDetails") public void setUserUserDetailsConverter(org.springframework.core.convert.converter.Converter<users,org.springframework.security.core.userdetails.UserDetails> userUserDetailsConverter)
    • 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
    • GetActiveUserName

      public String GetActiveUserName()
    • getActiveUserDetails

      public org.springframework.security.core.userdetails.UserDetails getActiveUserDetails(String UserName)