Class DbAuthenticationUserDetailsService<T extends org.springframework.security.core.Authentication>

java.lang.Object
org.craftercms.studio.impl.v2.security.userdetails.AbstractCachedUserDetailsService
org.craftercms.studio.impl.v2.security.userdetails.DbAuthenticationUserDetailsService<T>
All Implemented Interfaces:
org.springframework.security.core.userdetails.AuthenticationUserDetailsService<T>

public class DbAuthenticationUserDetailsService<T extends org.springframework.security.core.Authentication> extends AbstractCachedUserDetailsService implements org.springframework.security.core.userdetails.AuthenticationUserDetailsService<T>
Implementation of DbAuthenticationUserDetailsService that uses Studio's UserDAO
Since:
4.0
Author:
joseross
  • Constructor Details

  • Method Details

    • loadUserDetails

      public org.springframework.security.core.userdetails.UserDetails loadUserDetails(T auth) throws org.springframework.security.core.userdetails.UsernameNotFoundException
      Specified by:
      loadUserDetails in interface org.springframework.security.core.userdetails.AuthenticationUserDetailsService<T extends org.springframework.security.core.Authentication>
      Throws:
      org.springframework.security.core.userdetails.UsernameNotFoundException