Class PersonDetailService

java.lang.Object
balu.pizza.webapp.services.PersonDetailService
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

@Service @Transactional(readOnly=true) public class PersonDetailService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
PersonDetail Service
  • Constructor Details

  • Method Details

    • loadUserByUsername

      public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
      Searches User by Username
      Specified by:
      loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService
      Parameters:
      username -
      Returns:
      UserDetails entity
      Throws:
      org.springframework.security.core.userdetails.UsernameNotFoundException - if user was not found