Class SecretCallbackHandlerFactory
java.lang.Object
org.apache.synapse.securevault.secret.SecretCallbackHandlerFactory
Contains factory methods to create SecretCallbackHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecretCallbackHandlercreateSecretCallbackHandler(String provider) Creates a SecretCallbackHandler instance based on provided classstatic SecretCallbackHandlercreateSecretCallbackHandler(Properties properties, String key) Creates a SecretCallbackHandler instance based on given properties At future , can extend this , if SecretCallbackHandler instance need some data in the initialization
-
Constructor Details
-
SecretCallbackHandlerFactory
public SecretCallbackHandlerFactory()
-
-
Method Details
-
createSecretCallbackHandler
Creates a SecretCallbackHandler instance based on given properties At future , can extend this , if SecretCallbackHandler instance need some data in the initialization- Parameters:
properties- properties contains some information about how to create a SecretCallbackHandlerkey- use for getting related properties out of all properties- Returns:
- SecretCallbackHandler instance
-
createSecretCallbackHandler
Creates a SecretCallbackHandler instance based on provided class- Parameters:
provider- provider class name- Returns:
- SecretCallbackHandler instance
-