Last change
on this file was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 20 months ago |
code added, trial 2
|
-
Property mode
set to
100644
|
File size:
631 bytes
|
Line | |
---|
1 | package com.example.fooddeliverysystem;
|
---|
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 | @SpringBootApplication
|
---|
10 | public 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.