Ignore:
Timestamp:
01/04/24 13:31:03 (11 months ago)
Author:
ppaunovski <paunovskipavel@…>
Branches:
master
Children:
bde8b13
Parents:
24c39f9
Message:

initial classes, no inheritance yet v2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/mk/ukim/finki/busngo/BusNGoApplication.java

    r24c39f9 rb101b69  
    33import org.springframework.boot.SpringApplication;
    44import 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;
    58
    69@SpringBootApplication
     
    1013        SpringApplication.run(BusNGoApplication.class, args);
    1114    }
     15    @Bean
     16    PasswordEncoder passwordEncoder(){
     17        return new BCryptPasswordEncoder(10);
     18    }
    1219
    1320}
Note: See TracChangeset for help on using the changeset viewer.