# Uses of Interface
org.apache.synapse.securevault.secret.SecretCallbackHandler

Packages that use SecretCallbackHandler
Package
Description
org.apache.synapse.securevault
org.apache.synapse.securevault.secret
org.apache.synapse.securevault.secret.handler

- ## Uses of SecretCallbackHandler in org.apache.synapse.securevault

  Methods in org.apache.synapse.securevault with parameters of type SecretCallbackHandler
  Modifier and Type
  Method
  Description
  `void`
  SecretResolver.`init(SecretCallbackHandler secretCallbackHandler)`
  Initializes by giving an instance of `SecretCallbackHandler` to be used to retrieve secrets

- ## Uses of SecretCallbackHandler in org.apache.synapse.securevault.secret

  Classes in org.apache.synapse.securevault.secret that implement SecretCallbackHandler
  Modifier and Type
  Class
  Description
  `class`
  `AbstractSecretCallbackHandler`
  A Base SecretCallbackHandler This expose API to handle SingleSecretCallback and all other functionality is implemented by itself
  Methods in org.apache.synapse.securevault.secret that return SecretCallbackHandler
  Modifier and Type
  Method
  Description
  `static SecretCallbackHandler`
  SecretCallbackHandlerFactory.`createSecretCallbackHandler(String provider)`
  Creates a SecretCallbackHandler instance based on provided class
  `static SecretCallbackHandler`
  SecretCallbackHandlerFactory.`createSecretCallbackHandler(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
  Methods in org.apache.synapse.securevault.secret with parameters of type SecretCallbackHandler
  Modifier and Type
  Method
  Description
  `void`
  SecretLoadingModule.`init(SecretCallbackHandler[] secretCallbackHandlers)`
  Initialized SecretLoadingModule with SecretCallbackHandlers

- ## Uses of SecretCallbackHandler in org.apache.synapse.securevault.secret.handler

  Classes in org.apache.synapse.securevault.secret.handler that implement SecretCallbackHandler
  Modifier and Type
  Class
  Description
  `class`
  `HardCodedSecretCallbackHandler`
  Hard-coded passwords as secrets .This is just a demonstration example and need to be adopted as user requirements.
  `class`
  `JBossEncryptionSecretCallbackHandler`
  SecretCallbackHandler implementation which is compatible to the default encryption used within the JBoss Application Server to decrypt database passwords.
  `class`
  `JlineSecretCallbackHandler`
  JlineBased SecretCallbackHandler , get the required secret using command line and propagates to the application that need secret *
  `class`
  `JMXSecretCallbackHandler`
  Get and propagates secrets that have been collected through JMX Mean
  `class`
  `SecretManagerSecretCallbackHandler`
  SecretManager based secret provider , this can be used by other application to get secret form SecretManager
  `class`
  `SharedSecretCallbackHandler`
  SecretCallbackHandler that uses an existing SecretCallbackHandler instance provided when starting server
  Methods in org.apache.synapse.securevault.secret.handler that return SecretCallbackHandler
  Modifier and Type
  Method
  Description
  `SecretCallbackHandler`
  SharedSecretCallbackHandlerCache.`getSecretCallbackHandler()`
  Methods in org.apache.synapse.securevault.secret.handler with parameters of type SecretCallbackHandler
  Modifier and Type
  Method
  Description
  `void`
  SharedSecretCallbackHandlerCache.`setSecretCallbackHandler(SecretCallbackHandler secretCallbackHandler)`