Class ChangeMasterPasswordCommandDAS

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct

    @Service(name="_change-master-password-das")
    @PerLookup
    public class ChangeMasterPasswordCommandDAS
    extends LocalDomainCommand
    The change-master-password command for the DAS. This is a hidden command which is called from change-master-password command.
    Author:
    Bhakti Mehta
    • Field Detail

      • domainName0

        protected String domainName0
      • savemp

        protected boolean savemp
    • Constructor Detail

      • ChangeMasterPasswordCommandDAS

        public ChangeMasterPasswordCommandDAS()
    • Method Detail

      • validate

        protected void validate()
                         throws org.glassfish.api.admin.CommandException
        Overrides:
        validate in class LocalDomainCommand
        Throws:
        org.glassfish.api.admin.CommandException
      • execute

        public int execute​(String... argv)
                    throws org.glassfish.api.admin.CommandException
        Overrides:
        execute in class com.sun.enterprise.admin.cli.CLICommand
        Throws:
        org.glassfish.api.admin.CommandException
      • executeCommand

        protected int executeCommand()
                              throws org.glassfish.api.admin.CommandException
        Specified by:
        executeCommand in class com.sun.enterprise.admin.cli.CLICommand
        Throws:
        org.glassfish.api.admin.CommandException