Commit 4223d591 authored by Mahesh Maney R's avatar Mahesh Maney R
Browse files

adding logs to response from keyclopak <ManeyMR>.

Showing with 2 additions and 0 deletions
+2 -0
......@@ -73,7 +73,9 @@ public class KeycloakUserCreator {
httpPost.setEntity(entity);
HttpResponse response = httpClient.execute(httpPost);
logger.info("Response from httpClient call : {}", response);
String responseBody = EntityUtils.toString(response.getEntity());
logger.info("Response from keycloak Rest API call : {}", responseBody);
if (response.getStatusLine().getStatusCode() == 201) {
String password = ((ArrayNode)body.get("credentials")).get(0).get("value").asText();
try {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment