source: backend/src/main/java/mk/finki/roomreservation/config/PasswordConfig.java

Last change on this file was 09e02d7, checked in by Nikola Sarafimov <sarafimov.nikola12345@…>, 4 days ago

Final room reservation system implementation

  • Property mode set to 100644
File size: 389 bytes
Line 
1package mk.finki.roomreservation.config;
2
3import org.springframework.context.annotation.Bean;
4import org.springframework.context.annotation.Configuration;
5import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
6
7@Configuration
8public class PasswordConfig {
9
10 @Bean
11 public BCryptPasswordEncoder passwordEncoder() {
12 return new BCryptPasswordEncoder();
13 }
14}
Note: See TracBrowser for help on using the repository browser.