public class LegacyPrivateKeyPasswordProvider extends java.lang.Object implements PrivateKeyPasswordProvider
The private key password for your local KeyEntry certificate is not stored in the runtime configuration. It is instead sourced
from a file security.properties
that is expected to be in the classpath.
This file only needs to contain a single entry:
adaptris.privatekey.password=[private key password]
In the adapter configuration file this class is aliased as legacy-private-key-password-provider which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
LegacyPrivateKeyPasswordProvider() |
Modifier and Type | Method and Description |
---|---|
char[] |
retrievePrivateKeyPassword()
Return the private key password as a char[] array.
|
public char[] retrievePrivateKeyPassword() throws PasswordException
retrievePrivateKeyPassword
in interface PrivateKeyPasswordProvider
Password.decode(String)
PasswordException
- wrapping any other exception.