This is an automated email from the ASF dual-hosted git repository.

ottersbach pushed a commit to branch revert-9833-NIFI-14409
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit 70c75513c6d5e44a190341ef828d778d6628847b
Author: Lucas <[email protected]>
AuthorDate: Tue Apr 1 16:25:15 2025 +0200

    Revert "NIFI-14409 Replaced use of deprecated method authorizeRequests in 
org…"
    
    This reverts commit a5ebcc7a7f3b34de440179e28229c89d2a892332.
---
 .../apache/nifi/registry/web/security/NiFiRegistrySecurityConfig.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/NiFiRegistrySecurityConfig.java
 
b/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/NiFiRegistrySecurityConfig.java
index 846ca1b325..476c08b30c 100644
--- 
a/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/NiFiRegistrySecurityConfig.java
+++ 
b/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/NiFiRegistrySecurityConfig.java
@@ -110,7 +110,7 @@ public class NiFiRegistrySecurityConfig {
                         .httpStrictTransportSecurity(hstsConfig -> 
hstsConfig.maxAgeInSeconds(31540000))
                         
.frameOptions(HeadersConfigurer.FrameOptionsConfig::sameOrigin)
                 )
-                .authorizeHttpRequests((authorize) -> authorize
+                .authorizeRequests((authorize) -> authorize
                         .requestMatchers(
                                 antMatcher("/access/token"),
                                 antMatcher("/access/token/identity-provider"),

Reply via email to