Commit 1600c10a authored by Josh Ji's avatar Josh Ji

logger.info

parent c87ddc73
......@@ -115,7 +115,7 @@ public class MakeCredential {
// ask for user identity
String[] extensions = extractExtensions(attestationObjectBytes);
String identityFromIDP = askIDP(extensions[0], extensions[1]);
logger.debug("identityFromIDP : {}", identityFromIDP);
logger.info("identityFromIDP : {}", identityFromIDP);
RegistrationRequest registrationRequest = new RegistrationRequest(attestationObjectBytes, clientDataJSONBytes);
......@@ -173,8 +173,8 @@ public class MakeCredential {
HashMap<String, String> map = new HashMap<>();
String base64hmac = Base64Util.encodeToString(HexUtil.decode(hmac));
String base64Cx = Base64Util.encodeToString(HexUtil.decode(Cx));
map.put("HMAC", base64hmac);
map.put("Cx", base64Cx);
map.put("HMAC_base64", base64hmac);
map.put("Cx_base64", base64Cx);
return restTemplate.postForObject(uri, map, String.class);
}
}
Markdown is supported
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