Package org.wso2.carbon.securevault
Class DefaultSecretCallbackHandler
- java.lang.Object
-
- org.wso2.securevault.secret.AbstractSecretCallbackHandler
-
- org.wso2.carbon.securevault.DefaultSecretCallbackHandler
-
- All Implemented Interfaces:
org.wso2.securevault.secret.SecretCallbackHandler
public class DefaultSecretCallbackHandler extends org.wso2.securevault.secret.AbstractSecretCallbackHandlerThis 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
Constructors Constructor Description DefaultSecretCallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleSingleSecretCallback(org.wso2.securevault.secret.SingleSecretCallback singleSecretCallback)
-