Class CreateFileUser

java.lang.Object
com.sun.enterprise.security.cli.CreateFileUser
All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization

@Service(name="create-file-user") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG}) public class CreateFileUser extends Object implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.Preauthorization
Create File User Command Usage: create-file-user [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--userpassword admin_passwd] [--passwordfile file_name] [--groups user_groups[:user_groups]*] [--authrealmname authrealm_name] [--target target(Default server)] username
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 the paramter names and the values the parameter values
    boolean
    preAuthorization(org.glassfish.api.admin.AdminCommandContext context)
     
    static void
    refreshRealm(String configName, String realmName)
     

    Methods inherited from class java.lang.Object

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

    • CreateFileUser

      public CreateFileUser()
  • Method Details

    • 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
    • refreshRealm

      public static void refreshRealm(String configName, String realmName)