Skip to content

Commit

Permalink
[users] Fix major code smells (See #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbinderRTE committed Oct 26, 2018
1 parent 7028ead commit fc18ba0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class OAuth2ResourceServerConfiguration extends WebSecurityConfigurerAdap

@Override
public void configure(final HttpSecurity http) throws Exception {
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED.IF_REQUIRED)
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED)
.and()
.authorizeRequests()
.antMatchers("/users/**").authenticated()
Expand Down

0 comments on commit fc18ba0

Please sign in to comment.