File tree 1 file changed +1
-11
lines changed
src/main/java/com/naturalprogrammer/spring/lemon/security
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 31
31
*
32
32
* @author Sanjay Patel
33
33
*/
34
- @ EnableWebSecurity
35
34
@ EnableGlobalMethodSecurity (prePostEnabled = true )
36
35
public abstract class LemonSecurityConfig extends WebSecurityConfigurerAdapter {
37
36
@@ -85,16 +84,7 @@ public PasswordEncoder passwordEncoder() {
85
84
return new BCryptPasswordEncoder ();
86
85
}
87
86
88
- // /**
89
- // * In case you don't want use the email field as the login id,
90
- // * you may want to have a different userDetailsServices, and
91
- // * override this method for injecting that here.
92
- // */
93
- // @Override
94
- // protected void configure(AuthenticationManagerBuilder builder) throws Exception {
95
- // builder.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder());
96
- // }
97
- //
87
+
98
88
/**
99
89
* Security configuration, calling protected methods
100
90
*/
You can’t perform that action at this time.
0 commit comments