private AccessToken fetchAccessToken() throws IOException { LOG.debug("Authentication is enabled in the gateway server. Authentication URI {}.", getAuthURI()); return execute(HttpRequest.get(getAuthURI().toURL()) .addHeaders(getAuthenticationHeaders()) .build() ); }