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 StringauthModuleprotected StringauthModuleClassprotected StringauthTypeprotected CommandRunnercommandRunnerprotected StringrealmNameprotected Stringrolesprotected BooleansecurityEnabledprotected Stringtarget
-
Constructor Summary
Constructors Constructor Description SetEjbInvokerConfigurationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateDefaultUser(EjbInvokerConfiguration config, ActionReport subActionReport, Subject subject)protected booleandefaultUserExists(EjbInvokerConfiguration config, ActionReport subActionReport, Subject subject)voiddisableEjbInvoker(ActionReport report)voidenableEjbInvoker(ActionReport report)voidexecute(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:AdminCommandExecutes 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:
executein 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)
-
-