Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
callicoder committed Nov 9, 2018
1 parent 38afdde commit ae20007
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -38,7 +38,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
private CustomOAuth2UserService customOAuth2UserService;

@Autowired
private OAuth2AuthenticationSuccessHandler oauth2AuthenticationSuccessHandler;
private OAuth2AuthenticationSuccessHandler oAuth2AuthenticationSuccessHandler;

@Autowired
private OAuth2AuthenticationFailureHandler oAuth2AuthenticationFailureHandler;
Expand Down Expand Up @@ -112,7 +112,7 @@ protected void configure(HttpSecurity http) throws Exception {
.userInfoEndpoint()
.userService(customOAuth2UserService)
.and()
.successHandler(oauth2AuthenticationSuccessHandler)
.successHandler(oAuth2AuthenticationSuccessHandler)
.failureHandler(oAuth2AuthenticationFailureHandler);

// Add our custom Token based authentication filter
Expand Down

0 comments on commit ae20007

Please sign in to comment.