From 3b00d3c56affd4880daecc834017c6db51fb3dee Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 30 Jan 2019 13:23:57 +0300 Subject: ActivityPub: log signatures --- src/main/java/com/juick/server/SignatureManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/com/juick/server/SignatureManager.java b/src/main/java/com/juick/server/SignatureManager.java index 083a5edf..0f2f1b39 100644 --- a/src/main/java/com/juick/server/SignatureManager.java +++ b/src/main/java/com/juick/server/SignatureManager.java @@ -89,6 +89,7 @@ public class SignatureManager { if (StringUtils.isEmpty(signatureString)) { return AnonymousUser.INSTANCE; } + logger.debug("Signature: {}", signatureString); Signature signature = Signature.fromString(signatureString); Optional context = getContext(URI.create(signature.getKeyId())); if (context.isPresent() && context.get() instanceof Person) { -- cgit v1.2.3