You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2025/06/27 14:53:00 UTC

[jira] [Created] (NIFI-14698) Replace org.springframework.security.web.util.matcher.AntPathRequestMatcher with API suggested replacement

Daniel Stieglitz created NIFI-14698:
---------------------------------------

             Summary: Replace org.springframework.security.web.util.matcher.AntPathRequestMatcher with API suggested replacement
                 Key: NIFI-14698
                 URL: https://issues.apache.org/jira/browse/NIFI-14698
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


Per the [https://docs.spring.io/spring-security/reference/api/java/org/springframework/security/web/util/matcher/AntPathRequestMatcher.html] javadocs, AntPathRequestMatcher has been deprecated and the suggested replacement is to use [PathPatternRequestMatcher|https://docs.spring.io/spring-security/reference/api/java/org/springframework/security/web/servlet/util/matcher/PathPatternRequestMatcher.html]

The following places in the code base are where this is an issue
{code:java}
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/oidc/client/web/OidcBearerTokenRefreshFilter.java:[75,18] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/oidc/client/web/OidcBearerTokenRefreshFilter.java:[75,72] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/logout/StandardLogoutFilter.java:[36,18] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/logout/StandardLogoutFilter.java:[41,18] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/oidc/logout/OidcLogoutFilter.java:[31,18] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/configuration/SamlAuthenticationSecurityConfiguration.java:[125,37] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/configuration/SamlAuthenticationSecurityConfiguration.java:[185,43] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/configuration/SamlAuthenticationSecurityConfiguration.java:[202,62] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/saml2/web/authentication/logout/Saml2SingleLogoutFilter.java:[49,18] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/saml2/web/authentication/logout/Saml2SingleLogoutFilter.java:[49,61] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/saml2/web/authentication/logout/Saml2LocalLogoutFilter.java:[30,18] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/configuration/WebSecurityConfiguration.java:[83,42] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal
[WARNING] nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/NiFiRegistrySecurityConfig.java:[61,59] [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)