This is an automated email from the ASF dual-hosted git repository.
exceptionfactory 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 f64d58c4d0 Reverted NIFI-14409 Replaced use of deprecated method
authorizeRequests (#9834)
f64d58c4d0 is described below
commit f64d58c4d0b99cc11c5a062e2884f0e1de3caf65
Author: Lucas <[email protected]>
AuthorDate: Tue Apr 1 17:05:06 2025 +0200
Reverted NIFI-14409 Replaced use of deprecated method authorizeRequests
(#9834)
This reverts commit a5ebcc7a7f3b34de440179e28229c89d2a892332.
Signed-off-by: David Handermann <[email protected]>
---
.../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"),