Class PasswordAliasResolverImpl

  • All Implemented Interfaces:
    PasswordAliasResolver

    public class PasswordAliasResolverImpl
    extends Object
    implements PasswordAliasResolver
    Provides password alias resolution, using an internal password alias store to actually resolve an alias if one is specified.
    Author:
    tjquinn
    • Constructor Detail

      • PasswordAliasResolverImpl

        public PasswordAliasResolverImpl​(PasswordAliasStore store)
    • Method Detail

      • resolvePassword

        public char[] resolvePassword​(String aliasExpressionOrPassword)
        Description copied from interface: PasswordAliasResolver
        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.
        Specified by:
        resolvePassword in interface PasswordAliasResolver
        Parameters:
        aliasExpressionOrPassword - either a password or a password alias expression
        Returns:
        the resolved password