JohnAlva commented on code in PR #4825:
URL: https://github.com/apache/fineract/pull/4825#discussion_r2193911505
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java:
##########
@@ -227,6 +230,10 @@ public TenantAwareBasicAuthenticationFilter
tenantAwareBasicAuthenticationFilter
return filter;
}
+ public GeolocationHeaderFilter geolocationHeaderFilter() {
+ return new GeolocationHeaderFilter(fineractProperties);
Review Comment:
Replaced manual creation with lazy autowiring using @Autowired(required =
false). The filter is now only added if the bean is present.
--
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]