Adapt to Spring Security change

This commit is contained in:
Stephane Nicoll 2017-10-30 08:59:09 +01:00
parent 5649e8c92a
commit edefacf7ac
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class OAuth2WebSecurityConfiguration {
@Override @Override
protected void configure(HttpSecurity http) throws Exception { protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests().anyRequest().authenticated().and().oauth2Login() http.authorizeRequests().anyRequest().authenticated().and().oauth2Login()
.clients(this.clientRegistrationRepository); .clientRegistrationRepository(this.clientRegistrationRepository);
} }
} }