@ProviderType
public interface PasswordCommandService
Modifier and Type | Method and Description |
---|---|
KuraResponsePayload |
execute(KuraRequestPayload commandReq)
Password protected command execution service
|
java.lang.String |
execute(java.lang.String cmd,
java.lang.String password)
Password protected command execution service
|
java.lang.String execute(java.lang.String cmd, java.lang.String password) throws KuraException
cmd
- Command to be executedpassword
- Password as specified in the CommandServiceKuraException
- raised if the command service is disabled, if the password is not correct
or if an internal error occursKuraResponsePayload execute(KuraRequestPayload commandReq)
commandReq
- Payload containing command information