Package com.sun.enterprise.security.cli
Class UpdatePasswordAlias
- java.lang.Object
-
- com.sun.enterprise.security.cli.UpdatePasswordAlias
-
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand
@Service(name="update-password-alias") @PerLookup @ExecuteOn(DAS) @TargetType({DAS,DOMAIN}) public class UpdatePasswordAlias extends Object implements org.glassfish.api.admin.AdminCommand
Update Password Alias Command Usage: update-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: the entry of the form: aliasname=in / /config/domain-passwords file gets updated with the new alias password domain.xml example entry is: Author: - Nandini Ektare
-
-
Constructor Summary
Constructors Constructor Description UpdatePasswordAlias()
-
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 parameter names and the values the parameter values
-
-
-
Method Detail
-
execute
public void execute(org.glassfish.api.admin.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 interfaceorg.glassfish.api.admin.AdminCommand
- Parameters:
context
- information
-
-