Quantcast
Channel: Node Development - KNIME Community Forum
Viewing all articles
Browse latest Browse all 81

Passwords as Flow Variables in Custom Nodes

$
0
0

I have generated a custom node based on an OpenAPI specification using NodePit’s nodegenerator.jar. I have modified the NodeDialog class using DialogComponentPasswordField for users to configure a password and store it using NodeSettings class.

However, I want to be able to pass in the password as a Flow Variable from a Credentials Configuration node. Right now, my field is displaying as a String type in the new node’s Flow Variables configuration, so I cannot assign the credentials flow variable to it.

Does anyone know what classes I need to instantiate to be able to take credentials as input to the new node? An example would be extremely helpful, too.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 81

Trending Articles