We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 067083e commit decf6feCopy full SHA for decf6fe
gateway-service/src/main/java/org/zowe/apiml/gateway/security/config/NewSecurityConfiguration.java
@@ -473,7 +473,7 @@ protected HttpSecurity baseConfigure(HttpSecurity http) throws Exception {
473
return http
474
.cors()
475
.and().csrf().disable() // NOSONAR we are using SAMESITE cookie to mitigate CSRF
476
- .headers().httpStrictTransportSecurity().disable()
+ .headers().httpStrictTransportSecurity().and()
477
.frameOptions().disable()
478
.and().exceptionHandling().authenticationEntryPoint(handlerInitializer.getBasicAuthUnauthorizedHandler())
479
.and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
0 commit comments