116117118119120121122123124
} } public void authenticate() throws IOException { if(credentials == null && authenticator != null) { AuthResponse auth = authenticator.authenticate(httpClient); this.credentials = "Bearer " + auth.getToken(); } }