org.apache.synapse.securevault

## Class PasswordManager

- java.lang.Object
- - org.apache.synapse.securevault.PasswordManager

-     public class PasswordManager
      extends Object

  Wraps a SecretResolver and exposes as a singleton PasswordManager TODO - more doc

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addProtectedToken(String token)`
    `static PasswordManager` | `getInstance()`
    `SecretResolver` | `getSecretResolver()`
    `void` | `init(Properties properties, String prefix)`
    `boolean` | `isInitialized()`
    `boolean` | `isTokenProtected(String token)`
    `String` | `resolve(String encryptedPassword)`
    `void` | `shutDown()`

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

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

- - ### Method Detail

    - #### getInstance

          public static PasswordManager getInstance()

    - #### init

          public void init(Properties properties,
                           String prefix)

    - #### resolve

          public String resolve(String encryptedPassword)

    - #### isInitialized

          public boolean isInitialized()

    - #### addProtectedToken

          public void addProtectedToken(String token)

    - #### isTokenProtected

          public boolean isTokenProtected(String token)

    - #### shutDown

          public void shutDown()

    - #### getSecretResolver

          public SecretResolver getSecretResolver()

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