Class SecurityUserDetailsService

  • All Implemented Interfaces:
    org.springframework.security.core.userdetails.UserDetailsService

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

      • SecurityUserDetailsService

        public SecurityUserDetailsService​(com.cumulocity.model.authentication.CumulocityCredentials userCredentials,
                                          RoleService roleService)
    • Method Detail

      • 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