File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
java/org/woehlke/greenshop/conf Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1717import org .springframework .security .crypto .password .Pbkdf2PasswordEncoder ;
1818import org .springframework .security .web .authentication .UsernamePasswordAuthenticationFilter ;
1919import org .springframework .web .servlet .config .annotation .EnableWebMvc ;
20- import org .woehlke .greenshop .oodm .admin .service .AdministratorService ;
2120
2221
2322@ SuppressWarnings ("deprecation" )
@@ -34,7 +33,7 @@ public class GreenshopWebSecurityConfig extends WebSecurityConfigurerAdapter {
3433 @ Autowired
3534 public GreenshopWebSecurityConfig (
3635 AuthenticationManagerBuilder auth ,
37- AdministratorService administratorService ,
36+ UserDetailsService administratorService ,
3837 GreenshopProperties greenshopProperties
3938 ) {
4039 this .authenticationManagerBuilder = auth ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ spring:
3333 jpa :
3434 open-in-view : true
3535 show-sql : true
36- database-platform : MARIADB
36+ database-platform : MYSQL
3737 hibernate :
3838 # ddl-auto: create-drop update
3939 ddl-auto : validate
6666 greenshop :
6767 testDataHowManyTestData : 10
6868 devTesting : true
69- # userConfig:
70- # userEmail: ${GREENSHOP_USER_EMAIL}
71- # userPassword: ${GREENSHOP_USER_PASSWORD}
72- # userFullname: ${GREENSHOP_USER_FULLNAME}
69+ userConfig :
70+ userEmail : ' thomas.woehlke@gmail.com '
71+ userPassword : ' UHkIifHN3iXbZtoHhiPvPzeKFBpthm0eBXdvm+Q3xNrWyXRheGDLCw== '
72+ userFullname : ' Thomas Wöhlke '
7373 webConfig :
7474 exportFilename : " measurements.csv"
7575 exportFilenameSeparator : " ;"
113113 - " /fehler*"
114114 usernameParameter : " userEmail"
115115 passwordParameter : " userPassword"
116- # secret: ${GREENSHOP_USER_SECRET}
117- # iterations: ${GREENSHO_USER_ITERATIONS}
118- # hashWidth: ${GREENSHO_USER_HASH_WIDTH}
116+ secret : ' 25D8484AB208F08C59FFAFE57DB9FF87 '
117+ iterations : 4096
118+ hashWidth : 256
119119logging :
120120 level :
121121 root : INFO
You can’t perform that action at this time.
0 commit comments