Class STUserDetailsService

java.lang.Object
it.uniroma2.art.semanticturkey.security.STUserDetailsService
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

public class STUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
Author:
Tiziano This class handles the user authentication. It's an alternative solution for STAuthenticationProvider and it allows to use remember-me feature (that AuthenticationProvider doesn't support) (Referenced in WEB-INF/spring-security.xml)
  • Constructor Details

    • STUserDetailsService

      public STUserDetailsService()
  • Method Details

    • 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