@Service(name="create-system-properties") @PerLookup @ExecuteOn(value={DAS,INSTANCE}) @TargetType(value={CLUSTER,CONFIG,DAS,DOMAIN,STANDALONE_INSTANCE,CLUSTERED_INSTANCE}) public class CreateSystemProperties extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization, AdminCommandSecurity.AccessCheckProvider
| Constructor and Description |
|---|
CreateSystemProperties() |
| Modifier and Type | Method and 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 values
|
Collection<? extends AccessRequired.AccessCheck> |
getAccessChecks()
Returns the
AccessChecks the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired annotations. |
boolean |
preAuthorization(AdminCommandContext context) |
public boolean preAuthorization(AdminCommandContext context)
preAuthorization in interface AdminCommandSecurity.Preauthorizationpublic Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProviderAccessChecks the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired annotations.getAccessChecks in interface AdminCommandSecurity.AccessCheckProviderAccessCheckspublic void execute(AdminCommandContext context)
execute in interface AdminCommandcontext - informationCopyright © 2017. All rights reserved.