Replace /authn/login with /authn/login-with-expiry.
This needs to utilize the new structures created in the previous step.
This should handle any error responses, if not already handled by the new structures.
The focus here is to replace the authentication mechanisms.
Changing anything else to use the token is considered out of scope.
see:
|
String url = properties.getBaseOkapiUrl() + "/authn/login"; |
see:
|
protected static final String OKAPI_LOGIN_PATH = "authn/login"; |