source: src/main/java/project/fmo/app/projcetfmo/ProjcetFmoApplication.java

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 
1package project.fmo.app.projcetfmo;
2
3import org.springframework.boot.SpringApplication;
4import org.springframework.boot.autoconfigure.SpringBootApplication;
5import org.springframework.context.annotation.Bean;
6import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
7import org.springframework.security.crypto.password.PasswordEncoder;
8
9
10@SpringBootApplication
11public 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.