source: src/main/java/it/finki/charitable/security/PasswordEncoder.java@ f8007b3

Last change on this file since f8007b3 was 3fc9e50, checked in by KostaFortumanov <kfortumanov@…>, 3 years ago

prototip part1

  • Property mode set to 100644
File size: 403 bytes
Line 
1package it.finki.charitable.security;
2
3import org.springframework.context.annotation.Bean;
4import org.springframework.context.annotation.Configuration;
5import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
6
7@Configuration
8public class PasswordEncoder {
9
10 @Bean
11 public static BCryptPasswordEncoder bCryptPasswordEncoder() {
12 return new BCryptPasswordEncoder(10);
13 }
14}
Note: See TracBrowser for help on using the repository browser.