exceptionfactory commented on code in PR #6196:
URL: https://github.com/apache/nifi/pull/6196#discussion_r920610907


##########
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:
   Thanks for the note @thenatog. The HTTP Request Logging on NiFi provides 
HTTP status code details for each URL requested, and Spring Security debug 
logging could be enabled for additional troubleshooting. With that background, 
however, it would be worthwhile to consider some of kind of error message 
string in certain cases. The Authentication Entry Point on NiFi has a few more 
scenarios to handle, but it sounds worth considering in a follow-on issue.



-- 
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: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to