Package org.glassfish.api.admin
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 TypeMethodDescriptionchar[]
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
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
-