- Timestamp:
- 10/31/22 23:42:15 (2 years ago)
- Branches:
- master
- Children:
- 044bd76
- Parents:
- 204464d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/edu/gjoko/schedlr/services/PostgresUserDetailsService.java
r204464d r763289e 9 9 import org.springframework.security.core.userdetails.UserDetailsService; 10 10 import org.springframework.security.core.userdetails.UsernameNotFoundException; 11 import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; 11 12 import org.springframework.stereotype.Service; 12 13 … … 18 19 19 20 private final StakeholderRepository stakeholderRepository; 21 private final BCryptPasswordEncoder bCryptPasswordEncoder; 20 22 21 public PostgresUserDetailsService(StakeholderRepository stakeholderRepository) { 23 public PostgresUserDetailsService(StakeholderRepository stakeholderRepository, 24 BCryptPasswordEncoder bCryptPasswordEncoder) { 22 25 this.stakeholderRepository = stakeholderRepository; 26 this.bCryptPasswordEncoder = bCryptPasswordEncoder; 23 27 } 24 28
Note:
See TracChangeset
for help on using the changeset viewer.