Class UpdateFileUser

  • All Implemented Interfaces:
    org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization

    @Service(name="update-file-user")
    @PerLookup
    @ExecuteOn(ALL)
    @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
    public class UpdateFileUser
    extends Object
    implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
    Update File User Command Usage: update-file-user [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] [--userpassword admin_passwd] [--groups user_groups[:user_groups]*] [--authrealmname authrealm_name] [--target target(Default server)] username
    Author:
    Nandini Ektare
    • Constructor Detail

      • UpdateFileUser

        public UpdateFileUser()
    • Method Detail

      • preAuthorization

        public boolean preAuthorization​(org.glassfish.api.admin.AdminCommandContext context)
        Specified by:
        preAuthorization in interface org.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 interface org.glassfish.api.admin.AdminCommand
        Parameters:
        context - information