public static interface CredentialsStore.CredentialsNode
Clients are usually not required to define credential-defining nodes so this interface is not considered to
be API and may change in the future, specifically the dependency to WorkflowLoadHelper
.
Modifier and Type | Method and Description |
---|---|
void |
doAfterLoadFromDisc(WorkflowLoadHelper loadHelper,
CredentialsProvider credProvider,
boolean isExecuted,
boolean isInactive)
Called when node is loaded from disc.
|
default void |
onWorkfowCredentialsChanged(Collection<Credentials> workflowCredentials)
Called when the workflow credentials change on a workflow.
|
default void |
pushCredentialsFlowVariable(String name,
String login,
String password)
Pushes a flow variable wrapping the passed credentials.
|
default void pushCredentialsFlowVariable(String name, String login, String password)
name
- Non-null identifierlogin
- Non-null loginpassword
- Possibly null password.void doAfterLoadFromDisc(WorkflowLoadHelper loadHelper, CredentialsProvider credProvider, boolean isExecuted, boolean isInactive)
pushCredentialsFlowVariable(String, String, String)
it.loadHelper
- Non-null helper.credProvider
- The credentials provider set on the corresponding node, not null. Read-only!!isExecuted
- Whether node is executed - executed nodes do not prompt for password via the callbackisInactive
- TODOdefault void onWorkfowCredentialsChanged(Collection<Credentials> workflowCredentials)
Method is only called on non-executed nodes; a configure call follows after all nodes in the workflow have been updated.
workflowCredentials
- read-only list of workflow credentials.
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.