|
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 | |
|---|
| 1 | package mk.finki.roomreservation.config;
|
|---|
| 2 |
|
|---|
| 3 | import org.springframework.context.annotation.Bean;
|
|---|
| 4 | import org.springframework.context.annotation.Configuration;
|
|---|
| 5 | import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
|---|
| 6 |
|
|---|
| 7 | @Configuration
|
|---|
| 8 | public 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.