Package com.sun.enterprise.security.cli
Class CreateFileUser
- java.lang.Object
-
- com.sun.enterprise.security.cli.CreateFileUser
-
- All Implemented Interfaces:
AdminCommand
,AdminCommandSecurity.Preauthorization
@Service(name="create-file-user") @PerLookup @ExecuteOn({INSTANCE,DAS}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG,DEPLOYMENT_GROUP}) public class CreateFileUser extends Object implements AdminCommand, 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 CreateFileUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values the parameter valuesboolean
preAuthorization(AdminCommandContext context)
static void
refreshRealm(String configName, String realmName)
-
-
-
Method Detail
-
preAuthorization
public boolean preAuthorization(AdminCommandContext context)
- Specified by:
preAuthorization
in interfaceAdminCommandSecurity.Preauthorization
-
execute
public void execute(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 interfaceAdminCommand
- Parameters:
context
- information
-
-