Interface PasswordAliasResolver


public interface PasswordAliasResolver
Resolves password alias expressions of the form ${ALIAS=aliasName} using an internal password alias store while also accepting passwords themselves which are not translated.
Author:
tjquinn
  • Method Summary

    Modifier and Type
    Method
    Description
    char[]
    resolvePassword(String aliasExpressionOrPassword)
    Returns the password from the argument, processing (if present) an expression of the form ${ALIAS=aliasName} using a PasswordAliasStore.
  • Method Details

    • resolvePassword

      char[] resolvePassword(String aliasExpressionOrPassword)
      Returns the password from the argument, processing (if present) an expression of the form ${ALIAS=aliasName} using a PasswordAliasStore. If the argument is not such an expression then the returned value is the character array for that string. If the argument is an alias expression then the alias name is resolved using an internal PasswordAliasStore and the corresponding password is returned.
      Parameters:
      aliasExpressionOrPassword - either a password or a password alias expression
      Returns:
      the resolved password