org.apache.synapse.securevault.secret

## Class SingleSecretCallback

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

- All Implemented Interfaces:
    SecretCallback

      public class SingleSecretCallback
      extends Object
      implements SecretCallback

  A single secret callback that can be used to collect a single secret

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingleSecretCallback()`
    `SingleSecretCallback(String id)`
    `SingleSecretCallback(String prompt, String id)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()`
    `String` | `getPrompt()`
    `String` | `getSecret()`
    `void` | `setId(String id)`
    `void` | `setPrompt(String prompt)`
    `void` | `setSecret(String secret)`

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

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

- - ### Constructor Detail

    - #### SingleSecretCallback

          public SingleSecretCallback(String id)

    - #### SingleSecretCallback

          public SingleSecretCallback(String prompt,
                                      String id)

    - #### SingleSecretCallback

          public SingleSecretCallback()

  - ### Method Detail

    - #### setSecret

          public void setSecret(String secret)

    - #### getSecret

          public String getSecret()

    - #### getPrompt

          public String getPrompt()

    - #### setPrompt

          public void setPrompt(String prompt)

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

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