[java-idp-plugin-webauthn] branch main updated: Remove fixed username for testing

Phil Smart philip.smart at jisc.ac.uk
Wed Dec 13 14:44:02 UTC 2023


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=2c8332c8d69741e2214eeaafc94910219537caf6

The following commit(s) were added to refs/heads/main by this push:
     new 2c8332c  Remove fixed username for testing
2c8332c is described below

commit 2c8332c8d69741e2214eeaafc94910219537caf6
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Dec 13 14:43:15 2023 +0000

    Remove fixed username for testing
---
 .../authn/webauthn/impl/PopulateWebAuthnAuthenticationContext.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/PopulateWebAuthnAuthenticationContext.java b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/PopulateWebAuthnAuthenticationContext.java
index 17d5f89..c6e1215 100644
--- a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/PopulateWebAuthnAuthenticationContext.java
+++ b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/PopulateWebAuthnAuthenticationContext.java
@@ -112,9 +112,7 @@ public class PopulateWebAuthnAuthenticationContext extends AbstractAuthenticatio
             return;
         }
         
-        String username = usernameLookupStrategy.apply(profileRequestContext);
-        //FIXME: testing
-        username = "philsmart";
+        final String username = usernameLookupStrategy.apply(profileRequestContext);
         if (username == null && usernameRequiredPredicate.test(profileRequestContext)) {
             log.error("{} Error creating WebauthnAuthenticationContext, no username found", getLogPrefix());
             ActionSupport.buildEvent(profileRequestContext, EventIds.INVALID_PROFILE_CTX);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list