JohnAlva commented on code in PR #4825:
URL: https://github.com/apache/fineract/pull/4825#discussion_r2192998140


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java:
##########
@@ -165,7 +166,9 @@ public SecurityFilterChain filterChain(HttpSecurity http) 
throws Exception {
                 .addFilterBefore(tenantAwareBasicAuthenticationFilter(), 
SecurityContextHolderFilter.class) //
                 .addFilterAfter(requestResponseFilter(), 
ExceptionTranslationFilter.class) //
                 .addFilterAfter(correlationHeaderFilter(), 
RequestResponseFilter.class) //
-                .addFilterAfter(fineractInstanceModeApiFilter(), 
CorrelationHeaderFilter.class); //
+                .addFilterAfter(fineractInstanceModeApiFilter(), 
CorrelationHeaderFilter.class) //
+                .addFilterAfter(fineractInstanceModeApiFilter(), 
CorrelationHeaderFilter.class) //
+                .addFilterAfter(geolocationHeaderFilter(), 
RequestResponseFilter.class); //

Review Comment:
   We've added a function to handle the filters when they are disabled. 
Specifically, we implemented this for the geolocation filter, as it was not 
previously disabled, and we have now included this functionality.



-- 
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]

Reply via email to