You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2025/07/01 15:26:00 UTC

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

    [ https://issues.apache.org/jira/browse/NIFI-14698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17987249#comment-17987249 ] 

David Handermann commented on NIFI-14698:
-----------------------------------------

Thanks [~dstiegli1], I will take a closer look at this soon.

> 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
>            Priority: Minor
>
> 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)