Last change
on this file since 98f448a was ce6ad22, checked in by DavidTrajkovski <davidtrajkovski11@…>, 3 years ago |
v1 initial prototype
|
-
Property mode
set to
100644
|
File size:
379 bytes
|
Line | |
---|
1 | package parkup.configs;
|
---|
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 PasswordEncoder {
|
---|
9 | @Bean
|
---|
10 | public BCryptPasswordEncoder bCryptPasswordEncoder(){
|
---|
11 | return new BCryptPasswordEncoder();
|
---|
12 | }
|
---|
13 |
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.