@Service(name="_get-host-and-port") @ExecuteOn(value=DAS) @PerLookup @CommandLock(value=NONE) public class GetHostAndPortCommand extends Object implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
Modifier and Type | Field and Description |
---|---|
String |
moduleId |
Boolean |
securityEnabled |
String |
target |
String |
virtualServer |
Constructor and Description |
---|
GetHostAndPortCommand() |
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 are 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. |
public String target
public String virtualServer
public Boolean securityEnabled
public String moduleId
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)
AdminCommand
execute
in interface AdminCommand
context
- informationCopyright © 2019. All rights reserved.