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

ottersbach pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new a5ebcc7a7f NIFI-14409 Replaced use of deprecated method 
authorizeRequests in 
org.springframework.security.config.annotation.web.builders.HttpSecurity with 
method authorizeHttpRequests. (#9833)
a5ebcc7a7f is described below

commit a5ebcc7a7f3b34de440179e28229c89d2a892332
Author: dan-s1 <[email protected]>
AuthorDate: Tue Apr 1 04:35:02 2025 -0400

    NIFI-14409 Replaced use of deprecated method authorizeRequests in 
org.springframework.security.config.annotation.web.builders.HttpSecurity with 
method authorizeHttpRequests. (#9833)
---
 .../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 476c08b30c..846ca1b325 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)
                 )
-                .authorizeRequests((authorize) -> authorize
+                .authorizeHttpRequests((authorize) -> authorize
                         .requestMatchers(
                                 antMatcher("/access/token"),
                                 antMatcher("/access/token/identity-provider"),

Reply via email to