Class HardCodedSecretCallbackHandler
java.lang.Object
org.apache.synapse.securevault.secret.AbstractSecretCallbackHandler
org.apache.synapse.securevault.secret.handler.HardCodedSecretCallbackHandler
- All Implemented Interfaces:
SecretCallbackHandler
Hard-coded passwords as secrets .This is just a demonstration example and need to be adopted
as user requirements. In the production environment, this may be 'close sourced' - only provided
a binary contains implementation class. Then, it is needed to use de- compilers to see password.
-
Field Summary
Fields inherited from class org.apache.synapse.securevault.secret.AbstractSecretCallbackHandler
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleSingleSecretCallback(SingleSecretCallback singleSecretCallback) Handle A SingleSecretCallback - fill the secretMethods inherited from class org.apache.synapse.securevault.secret.AbstractSecretCallbackHandler
handle
-
Constructor Details
-
HardCodedSecretCallbackHandler
public HardCodedSecretCallbackHandler()
-
-
Method Details
-
handleSingleSecretCallback
Description copied from class:AbstractSecretCallbackHandlerHandle A SingleSecretCallback - fill the secret- Specified by:
handleSingleSecretCallbackin classAbstractSecretCallbackHandler- Parameters:
singleSecretCallback- SingleSecretCallback instance
-