Class CreatePasswordAlias

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="create-password-alias")
    @PerLookup
    @ExecuteOn(ALL)
    @TargetType({DAS,DOMAIN})
    public class CreatePasswordAlias
    extends Object
    implements AdminCommand
    Create Password Alias Command Usage: create-password-alias [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] aliasname 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 domain.xml. Benefit is it is in NON-CLEAR-TEXT domain.xml example entry is: Author:
    Nandini Ektare
    • Constructor Detail

      • CreatePasswordAlias

        public CreatePasswordAlias()
    • Method Detail

      • execute

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