org.apache.synapse.securevault

## Class PasswordManager

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

-     public class PasswordManager
      extends java.lang.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(java.lang.String token)`
    `static PasswordManager` | `getInstance()`
    `SecretResolver` | `getSecretResolver()`
    `void` | `init(java.util.Properties properties, java.lang.String prefix)`
    `boolean` | `isInitialized()`
    `boolean` | `isTokenProtected(java.lang.String token)`
    `java.lang.String` | `resolve(java.lang.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(java.util.Properties properties,
                           java.lang.String prefix)

    - #### resolve

          public java.lang.String resolve(java.lang.String encryptedPassword)

    - #### isInitialized

          public boolean isInitialized()

    - #### addProtectedToken

          public void addProtectedToken(java.lang.String token)

    - #### isTokenProtected

          public boolean isTokenProtected(java.lang.String token)

    - #### shutDown

          public void shutDown()

    - #### getSecretResolver

          public SecretResolver getSecretResolver()

Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.