Class SecurityUserDetailsService

java.lang.Object
com.cumulocity.microservice.security.service.SecurityUserDetailsService
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

@Repository public class SecurityUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
  • Constructor Details

    • SecurityUserDetailsService

      public SecurityUserDetailsService(com.cumulocity.model.authentication.CumulocityCredentials userCredentials, RoleService roleService)
  • 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