Package com.sun.enterprise.security.cli
Class ChangeAdminPassword
- java.lang.Object
-
- com.sun.enterprise.security.cli.ChangeAdminPassword
-
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand
,org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
@Service(name="change-admin-password") @PerLookup @ExecuteOn(ALL) public class ChangeAdminPassword extends Object implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
Change Admin Password Command Usage: change-admin-password [--user admin_user] [--terse=false] [--echo=false] [--host localhost] [--port 4848|4849] [--secure | -s]- Author:
- Nandini Ektare
-
-
Constructor Summary
Constructors Constructor Description ChangeAdminPassword()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.glassfish.api.admin.AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values the parameter valuesboolean
preAuthorization(org.glassfish.api.admin.AdminCommandContext context)
-
-
-
Method Detail
-
preAuthorization
public boolean preAuthorization(org.glassfish.api.admin.AdminCommandContext context)
- Specified by:
preAuthorization
in interfaceorg.glassfish.api.admin.AdminCommandSecurity.Preauthorization
-
execute
public void execute(org.glassfish.api.admin.AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values the parameter values- Specified by:
execute
in interfaceorg.glassfish.api.admin.AdminCommand
- Parameters:
context
- information
-
-