org.apache.synapse.securevault.secret

## Class MultiSecretCallback

- java.lang.Object
- - org.apache.synapse.securevault.secret.MultiSecretCallback

- All Implemented Interfaces:
    SecretCallback

      public class MultiSecretCallback
      extends Object
      implements SecretCallback

  Represents group of any number of Callbacks - group means, they provide secret for a one use

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MultiSecretCallback()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addSecretCallback(SecretCallback secretCallback)` Add a SecretCallback
    `Iterator<SecretCallback>` | `getSecretCallbacks()` Returns all SecretCallbacks

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

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

- - ### Constructor Detail

    - #### MultiSecretCallback

          public MultiSecretCallback()

  - ### Method Detail

    - #### addSecretCallback

          public void addSecretCallback(SecretCallback secretCallback)

      Add a SecretCallback
      Parameters:
        `secretCallback` - SecretCallback instance

    - #### getSecretCallbacks

          public Iterator<SecretCallback> getSecretCallbacks()

      Returns all SecretCallbacks
      Returns:
        SecretCallbacks as Iterator

Copyright © 2005–2018 Apache Software Foundation. All rights reserved.