Class JBossEncryptionSecretCallbackHandler
java.lang.Object
org.apache.synapse.securevault.secret.AbstractSecretCallbackHandler
org.apache.synapse.securevault.secret.handler.JBossEncryptionSecretCallbackHandler
- All Implemented Interfaces:
SecretCallbackHandler
SecretCallbackHandler implementation which is compatible to the default encryption used
within the JBoss Application Server to decrypt database passwords.
-
Field Summary
Fields inherited from class org.apache.synapse.securevault.secret.AbstractSecretCallbackHandler
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleSingleSecretCallback(SingleSecretCallback singleSecretCallback) Decrypts the encrypted secret provided by the specified callback handler.Methods inherited from class org.apache.synapse.securevault.secret.AbstractSecretCallbackHandler
handle
-
Constructor Details
-
JBossEncryptionSecretCallbackHandler
public JBossEncryptionSecretCallbackHandler()
-
-
Method Details
-
handleSingleSecretCallback
Decrypts the encrypted secret provided by the specified callback handler.- Specified by:
handleSingleSecretCallbackin classAbstractSecretCallbackHandler- Parameters:
singleSecretCallback- The singleSecretCallback which secret has to be decrypted
-