Package com.sun.enterprise.security.cli
Class DeletePasswordAlias
- java.lang.Object
-
- com.sun.enterprise.security.cli.DeletePasswordAlias
-
- All Implemented Interfaces:
AdminCommand,AdminCommandSecurity.Preauthorization
@Service(name="delete-password-alias") @PerLookup @ExecuteOn(ALL) @TargetType({DAS,DOMAIN}) public class DeletePasswordAlias extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization
Delete Password Alias Command Usage: delete-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 is removed domain.xml example entry is: Author: - Nandini Ektare
-
-
Constructor Summary
Constructors Constructor Description DeletePasswordAlias()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(AdminCommandContext context)Executes the command with the command parameters passed as Properties where the keys are paramter names and the values the parameter valuesbooleanpreAuthorization(AdminCommandContext context)
-
-
-
Method Detail
-
preAuthorization
public boolean preAuthorization(AdminCommandContext context)
- Specified by:
preAuthorizationin interfaceAdminCommandSecurity.Preauthorization
-
execute
public void execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are paramter names and the values the parameter values- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
-