main
Last change
on this file was 1dd9226, checked in by HristijanMitic00 <hristijan.mitic.01@…>, 21 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
646 bytes
|
Line | |
---|
1 | package project.fmo.app.projcetfmo;
|
---|
2 |
|
---|
3 | import org.springframework.boot.SpringApplication;
|
---|
4 | import org.springframework.boot.autoconfigure.SpringBootApplication;
|
---|
5 | import org.springframework.context.annotation.Bean;
|
---|
6 | import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
---|
7 | import org.springframework.security.crypto.password.PasswordEncoder;
|
---|
8 |
|
---|
9 |
|
---|
10 | @SpringBootApplication
|
---|
11 | public class ProjcetFmoApplication {
|
---|
12 |
|
---|
13 | public static void main(String[] args) {
|
---|
14 | SpringApplication.run(ProjcetFmoApplication.class, args);
|
---|
15 | }
|
---|
16 |
|
---|
17 |
|
---|
18 | @Bean
|
---|
19 | public PasswordEncoder passwordEncoder() {
|
---|
20 | return new BCryptPasswordEncoder(10);
|
---|
21 | }
|
---|
22 |
|
---|
23 |
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.