Class ListPasswordAlias

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="list-password-aliases")
    @PerLookup
    @CommandLock(NONE)
    @ExecuteOn(DAS)
    @TargetType({DAS,DOMAIN})
    public class ListPasswordAlias
    extends Object
    implements AdminCommand
    List Password Aliases Command Usage: list-password-aliases [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] Result of the command is that: //config/domain-passwords file gets appended with the entry of the form: aliasname= A user can use this aliased password now in setting passwords in domin.xml. Benefit is it is in NON-CLEAR-TEXT domain.xml example entry is: Author:
    Nandini Ektare
    • Constructor Detail

      • ListPasswordAlias

        public ListPasswordAlias()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Executes the command with the command parameters passed as Properties where the keys are paramter names and the values the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information