aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-01-30 13:23:57 +0300
committerGravatar Vitaly Takmazov2019-01-30 13:23:57 +0300
commit3b00d3c56affd4880daecc834017c6db51fb3dee (patch)
tree914cafb5f71d1694fb7e29f8b323f6259f6fb2b2 /src/main/java/com/juick
parent053300c67d2fe274f2f562712d8586e81700c085 (diff)
ActivityPub: log signatures
Diffstat (limited to 'src/main/java/com/juick')
-rw-r--r--src/main/java/com/juick/server/SignatureManager.java1
1 files changed, 1 insertions, 0 deletions
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> context = getContext(URI.create(signature.getKeyId()));
if (context.isPresent() && context.get() instanceof Person) {