Client client = ClientBuilder.newClient();
HttpAuthenticationFeature authFeature = HttpAuthenticationFeature.basic(username, password);
client.register(authFeature);
client.register(new LoggingFeature(java.util.logging.Logger.getLogger(this.getClass().getName())))
Client client = ClientBuilder.newClient();
HttpAuthenticationFeature authFeature = HttpAuthenticationFeature.basic(username, password);
client.register(authFeature);
client.register(new LoggingFeature(java.util.logging.Logger.getLogger(this.getClass().getName())))