public class SecretConversions extends java.lang.Object implements ConversionProvider
SecretProvider
. Provides a
conversions from a file and value. Providing a password as a value allows
it to be hard coded in the configuration, which probably isn't the best
idea.FileKeyPair
,
PuttyKeyPair
Modifier and Type | Field and Description |
---|---|
static Convertlet<SecretProvider,org.apache.sshd.common.config.keys.FilePasswordProvider> |
SECRET_TO_FILE_PASSWORD |
Constructor and Description |
---|
SecretConversions() |
Modifier and Type | Method and Description |
---|---|
void |
registerWith(ConversionRegistry registry) |
public static Convertlet<SecretProvider,org.apache.sshd.common.config.keys.FilePasswordProvider> SECRET_TO_FILE_PASSWORD
public void registerWith(ConversionRegistry registry)
registerWith
in interface ConversionProvider