thenatog commented on code in PR #6196:
URL: https://github.com/apache/nifi/pull/6196#discussion_r920583934
##########
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/NiFiRegistrySecurityConfig.java:
##########
@@ -101,26 +99,17 @@ protected void configure(HttpSecurity http) throws
Exception {
.anyRequest().fullyAuthenticated()
.and()
.exceptionHandling()
-
.authenticationEntryPoint(http401AuthenticationEntryPoint())
- .and()
- .sessionManagement()
- .sessionCreationPolicy(SessionCreationPolicy.STATELESS);
+
.authenticationEntryPoint(http401AuthenticationEntryPoint());
Review Comment:
This actually looks a little more complex than the authentication entry
point I just merged in NiFi. Should the NiFi one contain some of these extra
tasks such as logging and setting return content types?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]