The Command Manager plugin needs to be authenticated on the Management API before sending any order. In order to do that, our plugin needs to obtain a JWT token by providing the basic authentication details (user and password). This token needs to be provided in the headers of consecutive requests. Our plugin also needs to handle the token refresh if expired.
Functional requirements
The Command Manager authenticates on the M_API using basic credentials.
As a result, the Command Manager gets a JWT token that must be used on consecutive requests to the M_API.
The Command Manager reuses and refreshes the token automatically.
Implementation restrictions
Include a JSON object parser (Jackson) to manage JSON responses from the M_API.
Description
The Command Manager plugin needs to be authenticated on the Management API before sending any order. In order to do that, our plugin needs to obtain a JWT token by providing the basic authentication details (user and password). This token needs to be provided in the headers of consecutive requests. Our plugin also needs to handle the token refresh if expired.
Functional requirements
Implementation restrictions
Plan