Package org.apache.synapse.securevault.secret

# Class SecretLoadingModule

java.lang.Object
org.apache.synapse.securevault.secret.SecretLoadingModule

public class SecretLoadingModule extends Object
Loads the secret on behalf of applications

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SecretLoadingModule()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `init(SecretCallbackHandler[] secretCallbackHandlers)`
  Initialized SecretLoadingModule with SecretCallbackHandlers
  `void`
  `load(SecretCallback[] secretCallbacks)`
  Load secrets into given call backs.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SecretLoadingModule

    public SecretLoadingModule()

- ## Method Details

  - ### init

    public void init(SecretCallbackHandler[] secretCallbackHandlers)
    Initialized SecretLoadingModule with SecretCallbackHandlers
    Parameters:
      `secretCallbackHandlers` - SecretCallbackHandlers

  - ### load

    public void load(SecretCallback[] secretCallbacks)
    Load secrets into given call backs. Use all registered call back handlers
    Parameters:
      `secretCallbacks` - SecretCallbacks