Changeset 5444409 for src/main/java/com/example/moviezone/config/CustomUsernamePasswordAuthenticationProvider.java
- Timestamp:
- 02/09/23 16:05:47 (21 months ago)
- Branches:
- master
- Children:
- 01a1ca6
- Parents:
- 17a2fda
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/CustomUsernamePasswordAuthenticationProvider.java
r17a2fda r5444409 2 2 3 3 4 import com.example.moviezone.model.exceptions.UserNotFoundException; 4 5 import com.example.moviezone.service.UserService; 5 6 import org.springframework.security.authentication.AuthenticationProvider; … … 35 36 36 37 UserDetails userDetails = this.userService.findByUsername(username); 38 37 39 // String realPassword = userDetails.getPassword(); 38 40 if (!Objects.equals(password,userDetails.getPassword())) {
Note:
See TracChangeset
for help on using the changeset viewer.