tvartom commented on issue #1691: URL: https://github.com/apache/shiro/issues/1691#issuecomment-2308039548
The solution might be to just update org.apache.shiro.spring.web.config.ShiroRequestMappingConfig to take a list:: ``` package org.apache.shiro.spring.web.config; import java.util.List; import org.apache.shiro.spring.web.ShiroUrlPathHelper; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping; @Configuration public class ShiroRequestMappingConfig { public ShiroRequestMappingConfig(List<RequestMappingHandlerMapping> requestMappingHandlerMappings) { for (RequestMappingHandlerMapping requestMappingHandlerMapping : requestMappingHandlerMappings) { requestMappingHandlerMapping.setUrlPathHelper(new ShiroUrlPathHelper()); } } } ``` But I'm not aware of the implications of this change. I'm also not familiar to the Shiro ecosystem. I tried to update, but I got problems when trying to run it, due to some comparison of the API. ``` [ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.23.0:cmp (japicmp) on project shiro-spring: There is at least one incompatibility: org.apache.shiro.spring.web.config.ShiroRequestMappingConfig.ShiroRequestMappingConfig(org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping):CONSTRUCTOR_REMOVED -> [Help 1] ``` -- 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...@shiro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For additional commands, e-mail: issues-h...@shiro.apache.org