Skip to content

Commit

Permalink
Removed @EnableWebSecurity
Browse files Browse the repository at this point in the history
  • Loading branch information
naturalprogrammer committed Jul 31, 2016
1 parent 268e906 commit 8f98290
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
*
* @author Sanjay Patel
*/
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true)
public abstract class LemonSecurityConfig extends WebSecurityConfigurerAdapter {

Expand Down Expand Up @@ -85,16 +84,7 @@ public PasswordEncoder passwordEncoder() {
return new BCryptPasswordEncoder();
}

// /**
// * In case you don't want use the email field as the login id,
// * you may want to have a different userDetailsServices, and
// * override this method for injecting that here.
// */
// @Override
// protected void configure(AuthenticationManagerBuilder builder) throws Exception {
// builder.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder());
// }
//

/**
* Security configuration, calling protected methods
*/
Expand Down

0 comments on commit 8f98290

Please sign in to comment.