Class WebdavUserDetailsServiceImpl

java.lang.Object
io.jmix.webdav.service.impl.WebdavUserDetailsServiceImpl
All Implemented Interfaces:
WebdavUserDetailsService, org.springframework.security.core.userdetails.UserDetailsService

@Component("webdav_WebdavUserDetailsService") public class WebdavUserDetailsServiceImpl extends Object implements WebdavUserDetailsService
  • Field Details

  • Constructor Details

    • WebdavUserDetailsServiceImpl

      public WebdavUserDetailsServiceImpl()
  • Method Details

    • loadWebdavCredentials

      @Nullable public @Nullable WebdavCredentials loadWebdavCredentials(String username)
      Description copied from interface: WebdavUserDetailsService
      Locates the user based on the username. In the actual implementation, the search may possibly be case sensitive, or case insensitive depending on how the implementation instance is configured. In this case, the UserDetails object that comes back may have a username that is of a different case than what was actually requested..
      Specified by:
      loadWebdavCredentials in interface WebdavUserDetailsService
      Parameters:
      username - the username identifying the user whose data is required.
      Returns:
      a fully populated user record (never null)
    • 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