code: @Override
      public ClientResponse doHandle(ClientRequest clientRequest) {
          AzureAdAccessToken accessToken;
  
          try {
              accessToken = azureAdTokenProvider.acquireAccessToken();
          } catch (Exception e) {
              throw new ClientHandlerException("Failed to acquire access token", e);
          }
  
          clientRequest.getHeaders().add("Authorization", "Bearer " + accessToken.getAccessToken());
  
          return this.getNext().handle(clientRequest);
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.microsoft.windowsazure.services.core.IdempotentClientFilter#doHandle
  (com.sun.jersey.api.client.ClientRequest)