removed basic hhtp authentication
This commit is contained in:
parent
9d38d86c03
commit
2a57236c9a
|
@ -67,10 +67,6 @@ public class AaiSecurityConfiguration extends WebSecurityConfigurerAdapter {
|
|||
.regexMatchers("/metrics").permitAll()
|
||||
.anyRequest().authenticated()
|
||||
.and()
|
||||
// .anonymous().disable()
|
||||
.httpBasic()
|
||||
.authenticationEntryPoint(authenticationEntryPoint())
|
||||
.and()
|
||||
.logout().logoutUrl("/openid_logout")
|
||||
.invalidateHttpSession(true)
|
||||
.deleteCookies("openAIRESession")
|
||||
|
@ -144,12 +140,6 @@ public class AaiSecurityConfiguration extends WebSecurityConfigurerAdapter {
|
|||
return serverConfiguration;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public LoginUrlAuthenticationEntryPoint authenticationEntryPoint() {
|
||||
return new LoginUrlAuthenticationEntryPoint("/openid_connect_login");
|
||||
}
|
||||
|
||||
|
||||
@Bean
|
||||
public OIDCAuthenticationFilter openIdConnectAuthenticationFilter() throws Exception {
|
||||
OIDCAuthenticationFilter oidc = new OIDCAuthenticationFilter();
|
||||
|
|
Loading…
Reference in New Issue