source: src/main/java/com/example/fooddeliverysystem/FooddeliverysystemApplication.java@ 8d11f8c

Last change on this file since 8d11f8c was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 18 months ago

code added, trial 2

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