Class DefaultSecretCallbackHandler

  • All Implemented Interfaces:
    org.wso2.securevault.secret.SecretCallbackHandler

    public class DefaultSecretCallbackHandler
    extends org.wso2.securevault.secret.AbstractSecretCallbackHandler
    This is the default secret call back handler class, shipped with carbon distribution which extends the AbstractSecretCallbackHandler class in synapse secure vault This class retrieves the password of key store and private key as command line input when carbon server is start-up. When server is started as a daemon, this class searches for a simple test file called "password" and read the password from there and delete it. By default, this class assumes that private and key store passwords are same. By passing the key.password=true as a system property in server start-up, default behaviour can be changed
    • Constructor Detail

      • DefaultSecretCallbackHandler

        public DefaultSecretCallbackHandler()
    • Method Detail

      • handleSingleSecretCallback

        public void handleSingleSecretCallback​(org.wso2.securevault.secret.SingleSecretCallback singleSecretCallback)
        Specified by:
        handleSingleSecretCallback in class org.wso2.securevault.secret.AbstractSecretCallbackHandler