Class ListPasswordAlias

java.lang.Object
com.sun.enterprise.security.cli.ListPasswordAlias
All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand

@Service(name="list-password-aliases") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) @TargetType({DAS,DOMAIN}) public class ListPasswordAlias extends Object implements org.glassfish.api.admin.AdminCommand
List Password Aliases Command Usage: list-password-aliases [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] Result of the command is that: invalid input: '<'domain-dir>/invalid input: '<'domain-name>/config/domain-passwords file gets appended with the entry of the form: aliasname= A user can use this aliased password now in setting passwords in domin.xml. Benefit is it is in NON-CLEAR-TEXT domain.xml example entry is: invalid input: '<'provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type ="client"> invalid input: '<'property name="password" value="${ALIAS=myalias}/> invalid input: '<'/provider-config>
Author:
Nandini Ektare
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 paramter names and the values the parameter values

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ListPasswordAlias

      public ListPasswordAlias()
  • Method Details

    • execute

      public void execute(org.glassfish.api.admin.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:
      execute in interface org.glassfish.api.admin.AdminCommand
      Parameters:
      context - information