Merge pull request #2546 from grossws/fix-PR-2449

Revert accidentally removed ResteasyClient configuration in admin
This commit is contained in:
Stian Thorgersen 2016-04-07 19:35:43 +02:00
commit 1cba5e5428

View file

@ -46,7 +46,7 @@ public class Keycloak {
Keycloak(String serverUrl, String realm, String username, String password, String clientId, String clientSecret, String grantType, ResteasyClient resteasyClient) {
config = new Config(serverUrl, realm, username, password, clientId, clientSecret, grantType);
client = resteasyClient != null ? resteasyClient : new ResteasyClientBuilder().build();
client = resteasyClient != null ? resteasyClient : new ResteasyClientBuilder().connectionPoolSize(10).build();
tokenManager = new TokenManager(config, client);