Package 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

  Modifier and Type
  Method
  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 Details

  - ### 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()