You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/12/07 14:10:25 UTC

[GitHub] [nifi] simonbence commented on a change in pull request #5574: NIFI-9397 Extending JettyWebSocketClient authorization possibilities with custom setup

simonbence commented on a change in pull request #5574:
URL: https://github.com/apache/nifi/pull/5574#discussion_r764029839



##########
File path: nifi-nar-bundles/nifi-websocket-bundle/nifi-websocket-services-jetty/src/main/java/org/apache/nifi/websocket/jetty/JettyWebSocketClient.java
##########
@@ -145,6 +145,19 @@
             .defaultValue("US-ASCII")
             .build();
 
+    public static final PropertyDescriptor CUSTOM_AUTH = new PropertyDescriptor.Builder()
+            .name("custom-authorization")
+            .displayName("Custom Authorization")
+            .description(
+                    "If set tgether with \"User Name\" and \"User Password\", instead of using Basic" +
+                    " Authentication the value of the property will be assigned to the \"Authorization\" HTTP header.")

Review comment:
       Thank again, this is a good idea. I really had no strong reason to go with just documenting it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org