@Override
    public String getPathWithinApplication(HttpServletRequest request) {
        return WebUtils.getPathWithinApplication(request);
    }
A Spring UrlPathHelper that uses Shiro's path resolution logic.

@since 1.7.0
support/spring/src/main/java/org/apache/shiro/spring/web/ShiroUrlPathHelper.java