Package fish.payara.ejb.http.admin
Class SetEjbInvokerConfigurationCommand
- java.lang.Object
-
- fish.payara.ejb.http.admin.SetEjbInvokerConfigurationCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="set-ejb-invoker-configuration") @PerLookup @ExecuteOn(DAS) @TargetType({CLUSTER,CLUSTERED_INSTANCE,CONFIG,DAS,DEPLOYMENT_GROUP,STANDALONE_INSTANCE}) public class SetEjbInvokerConfigurationCommand extends Object implements AdminCommand
- Author:
- Gaurav Gupta
-
-
Field Summary
Fields Modifier and Type Field Description protected String
authModule
protected String
authModuleClass
protected String
authType
protected CommandRunner
commandRunner
protected String
realmName
protected String
roles
protected Boolean
securityEnabled
protected String
target
-
Constructor Summary
Constructors Constructor Description SetEjbInvokerConfigurationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createDefaultUser(EjbInvokerConfiguration config, ActionReport subActionReport, Subject subject)
protected boolean
defaultUserExists(EjbInvokerConfiguration config, ActionReport subActionReport, Subject subject)
void
disableEjbInvoker(ActionReport report)
void
enableEjbInvoker(ActionReport report)
void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
-
-
-
Field Detail
-
securityEnabled
protected Boolean securityEnabled
-
realmName
protected String realmName
-
authType
protected String authType
-
authModule
protected String authModule
-
authModuleClass
protected String authModuleClass
-
roles
protected String roles
-
target
protected String target
-
commandRunner
@Inject protected CommandRunner commandRunner
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
disableEjbInvoker
public void disableEjbInvoker(ActionReport report)
-
enableEjbInvoker
public void enableEjbInvoker(ActionReport report)
-
defaultUserExists
protected boolean defaultUserExists(EjbInvokerConfiguration config, ActionReport subActionReport, Subject subject)
-
createDefaultUser
protected void createDefaultUser(EjbInvokerConfiguration config, ActionReport subActionReport, Subject subject)
-
-