org.wso2.carbon.securevault
Class DefaultSecretCallbackHandler

java.lang.Object
  extended by org.wso2.securevault.secret.AbstractSecretCallbackHandler
      extended by org.wso2.carbon.securevault.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 Summary
DefaultSecretCallbackHandler()
           
 
Method Summary
 void handleSingleSecretCallback(org.wso2.securevault.secret.SingleSecretCallback singleSecretCallback)
           
 
Methods inherited from class org.wso2.securevault.secret.AbstractSecretCallbackHandler
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2014 WSO2 Inc. All rights reserved.