source: bus-n-go-do-5ta-faza/src/main/java/mk/ukim/finki/busngo/BusNGoApplication.java

Last change on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago

split group project and individual project into two separate folders

  • Property mode set to 100644
File size: 622 bytes
Line 
1package mk.ukim.finki.busngo;
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@SpringBootApplication
10public class BusNGoApplication {
11
12 public static void main(String[] args) {
13
14
15 SpringApplication.run(BusNGoApplication.class, args);
16 }
17 @Bean
18 PasswordEncoder passwordEncoder(){
19 return new BCryptPasswordEncoder(10);
20 }
21
22}
Note: See TracBrowser for help on using the repository browser.