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 Summary
ConstructorDescriptionSecurityUserDetailsService
(com.cumulocity.model.authentication.CumulocityCredentials userCredentials, RoleService roleService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
loadUserByUsername
(String username)
-
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 interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-