@TargetType(value={CONFIG,DAS,CLUSTER,STANDALONE_INSTANCE,DEPLOYMENT_GROUP}) @ExecuteOn(value={DAS,INSTANCE}) @Service(name="create-resource-ref") @PerLookup public class CreateResourceRef extends Object implements AdminCommand, AdminCommandSecurity.Preauthorization, AdminCommandSecurity.AccessCheckProvider
Constructor and Description |
---|
CreateResourceRef() |
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 parameter names and the values the parameter values
|
Collection<? extends AccessRequired.AccessCheck> |
getAccessChecks()
Returns the
AccessCheck s 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.Preauthorization
public Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProvider
AccessCheck
s 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.AccessCheckProvider
AccessCheck
spublic void execute(AdminCommandContext context)
execute
in interface AdminCommand
context
- informationCopyright © 2021. All rights reserved.