Adapt to Spring Security change

This commit is contained in:
Stephane Nicoll 2017-10-30 08:59:09 +01:00
parent 5649e8c92a
commit edefacf7ac

View File

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