Package org.powertac.visualizer.security
Class DomainUserDetailsService
- java.lang.Object
-
- org.powertac.visualizer.security.DomainUserDetailsService
-
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
@Component("userDetailsService") public class DomainUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
Authenticate a user from the database.
-
-
Constructor Summary
Constructors Constructor Description DomainUserDetailsService(UserRepository userRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.userdetails.UserDetails
loadUserByUsername(String login)
-
-
-
Constructor Detail
-
DomainUserDetailsService
public DomainUserDetailsService(UserRepository userRepository)
-
-
Method Detail
-
loadUserByUsername
@Transactional public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String login)
- Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
-
-