Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3794

ListenRELP should expose a Client Auth property for TLS/SSL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      ListenRELP currently hard codes the client auth to REQUIRED when creating an SSLContext:

      sslContext = sslContextService.createSSLContext(SSLContextService.ClientAuth.REQUIRED);
      

      It should expose a Client Auth property like ListenTCP does and use that:

      public static final PropertyDescriptor CLIENT_AUTH = new PropertyDescriptor.Builder()
                  .name("Client Auth")
                  .description("The client authentication policy to use for the SSL Context. Only used if an SSL Context Service is provided.")
                  .required(false)
                  .allowableValues(SSLContextService.ClientAuth.values())
                  .defaultValue(SSLContextService.ClientAuth.REQUIRED.name())
                  .build();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbende Bryan Bende
                Reporter:
                trixpan Andre F de Miranda
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: