code: public Result addCcTokenTrace(ClientRequest request, String traceabilityId) {
          Result<Jwt> result = tokenManager.getJwt(request);
          if(result.isFailure()) { return Failure.of(result.getError()); }
          request.getRequestHeaders().put(Headers.AUTHORIZATION, "Bearer " + result.getResult().getJwt());
          request.getRequestHeaders().put(HttpStringConstants.TRACEABILITY_ID, traceabilityId);
          return result;
      }
docs: Add Client Credentials token cached in the client for standalone application
  
  This is the method called from standalone application like enterprise scheduler for batch jobs
  or mobile apps.
  
  @param request the http request
  @param traceabilityId the traceability id
  @return Result when fail to get jwt, it will return a Status.