[java-idp-plugin-webauthn] branch main updated: Add annotation and fix log level
Phil Smart
philip.smart at jisc.ac.uk
Mon Sep 2 14:21:13 UTC 2024
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=eba625f1e0beb94e2af0e2a4a85e10bdf7a1d27d
The following commit(s) were added to refs/heads/main by this push:
new eba625f Add annotation and fix log level
eba625f is described below
commit eba625f1e0beb94e2af0e2a4a85e10bdf7a1d27d
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Sep 2 15:21:10 2024 +0100
Add annotation and fix log level
---
.../context/navigate/AttributeContextStringLookupStrategy.java | 2 ++
.../webauthn/context/navigate/UsernameLookupFromSubjectContext.java | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/AttributeContextStringLookupStrategy.java b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/AttributeContextStringLookupStrategy.java
index 39dcae0..716dd52 100644
--- a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/AttributeContextStringLookupStrategy.java
+++ b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/AttributeContextStringLookupStrategy.java
@@ -18,6 +18,7 @@ import java.util.List;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
+import javax.annotation.concurrent.ThreadSafe;
import org.opensaml.profile.context.ProfileRequestContext;
import org.slf4j.Logger;
@@ -32,6 +33,7 @@ import net.shibboleth.shared.primitive.LoggerFactory;
* attribute context. Will return {@code null} if the attribute can not be found, or if there is more than one
* attribute value.
*/
+ at ThreadSafe
public class AttributeContextStringLookupStrategy extends AbstractAttributeContextUserIdentityStrategy<String> {
/** Class logger. */
diff --git a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/UsernameLookupFromSubjectContext.java b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/UsernameLookupFromSubjectContext.java
index 15735df..7bcbe25 100644
--- a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/UsernameLookupFromSubjectContext.java
+++ b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/UsernameLookupFromSubjectContext.java
@@ -44,11 +44,11 @@ public class UsernameLookupFromSubjectContext implements Function<ProfileRequest
}
final SubjectContext subjectContext = input.getSubcontext(SubjectContext.class);
if (subjectContext == null) {
- log.debug("Subject context was null, can not find existing username");
+ log.trace("Subject context was null, can not find existing username");
return null;
}
final String username = subjectContext.getPrincipalName();
- log.trace("Found existing username '{}' from subject", username);
+ log.trace("Found existing username '{}' from subject context", username);
return username;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list