Skip to content

Commit c7cc41d

Browse files
committed
Do not user authenticationManager registered as bean, since it may not be available
1 parent 704e75f commit c7cc41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/eu/openanalytics/containerproxy/security/WebSecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected void configure(HttpSecurity http) throws Exception {
140140
.logoutSuccessUrl(auth.getLogoutSuccessURL());
141141

142142
// Enable basic auth for RESTful calls when APISecurityConfig is not enabled.
143-
http.addFilter(new BasicAuthenticationFilter(authenticationManagerBean()));
143+
http.addFilter(new BasicAuthenticationFilter(super.authenticationManagerBean()));
144144
}
145145

146146

0 commit comments

Comments
 (0)