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

kdoran 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 dccdc1596c NIFI-15301 Switched to SSLContextProvider in 
HandleHttpRequest (#10608)
dccdc1596c is described below

commit dccdc1596c5ae8f4a7c3939780217893ecba8737
Author: David Handermann <[email protected]>
AuthorDate: Fri Dec 5 16:06:27 2025 -0600

    NIFI-15301 Switched to SSLContextProvider in HandleHttpRequest (#10608)
    
    - Replaced RestrictedSSLContextService with SSLContextProvider for broader 
support of compatible service implementations
    
    Signed-off-by: Kevin Doran <[email protected]>
---
 .../java/org/apache/nifi/processors/standard/HandleHttpRequest.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java
 
b/nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java
index e033edd666..7e00aa7ce1 100644
--- 
a/nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java
+++ 
b/nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java
@@ -63,7 +63,6 @@ import 
org.apache.nifi.processors.standard.http.HandleHttpRequestCertificateAttr
 import org.apache.nifi.processors.standard.http.HttpProtocolStrategy;
 import org.apache.nifi.processors.standard.util.HTTPUtils;
 import org.apache.nifi.scheduling.ExecutionNode;
-import org.apache.nifi.ssl.RestrictedSSLContextService;
 import org.apache.nifi.ssl.SSLContextProvider;
 import org.apache.nifi.stream.io.StreamUtils;
 import org.eclipse.jetty.ee11.servlet.ServletContextHandler;
@@ -197,7 +196,7 @@ public class HandleHttpRequest extends AbstractProcessor 
implements ListenCompon
             .description("The SSL Context Service to use in order to secure 
the server. If specified, the server will accept only HTTPS requests; "
                     + "otherwise, the server will accept only HTTP requests")
             .required(false)
-            .identifiesControllerService(RestrictedSSLContextService.class)
+            .identifiesControllerService(SSLContextProvider.class)
             .build();
     public static final PropertyDescriptor HTTP_PROTOCOL_STRATEGY = new 
PropertyDescriptor.Builder()
             .name("HTTP Protocols")

Reply via email to