FileDocCategorySizeDatePackage
PasswordAliasCommand.javaAPI DocGlassfish v2 API3054Fri May 04 22:25:12 BST 2007com.sun.enterprise.cli.commands

PasswordAliasCommand

public class PasswordAliasCommand extends FileUserCommand
This class gets called when create-file-user command is invoked. This class will overwrite validOptions in GenericCommand to validate the userpassword option. If the userpassword and passwordfile options are not entered in the command line and interactive is true, then CLI will prompt the user for the password.

Fields Summary
private static final String
ALIAS_USER_NAME
private static final String
ALIAS_PASSWORD
Constructors Summary
Methods Summary
protected java.lang.StringgetPasswordConfirmationPrompt()

        return "AliasPasswordConfirmationPrompt";
    
protected java.lang.StringgetPasswordOptionName()

    
    
       
        return ALIAS_PASSWORD;
    
protected java.lang.StringgetPasswordPrompt()

        return "AliasPasswordPrompt";
    
protected java.lang.StringgetUserOptionName()

        return ALIAS_USER_NAME;
    
protected java.lang.StringgetUserPrompt()

        return "AliasUserPrompt";