update security config (#1674)

This commit is contained in:
lor6 2017-04-18 15:15:35 +03:00 committed by Grzegorz Piwowarek
parent f204b6167d
commit 63c8423051
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override @Override
protected void configure(final AuthenticationManagerBuilder auth) throws Exception { protected void configure(final AuthenticationManagerBuilder auth) throws Exception {
auth.userDetailsService(userDetailsService); auth.authenticationProvider(authenticationProvider());
} }
@Override @Override