[java-idp-plugin-webauthn] branch main updated: Fix tests and null strategy generation
Phil Smart
philip.smart at jisc.ac.uk
Thu Aug 15 14:27:54 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=e360c3bbaf090cafb034d2deb2903164c320ff67
The following commit(s) were added to refs/heads/main by this push:
new e360c3b Fix tests and null strategy generation
e360c3b is described below
commit e360c3bbaf090cafb034d2deb2903164c320ff67
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Aug 15 15:27:52 2024 +0100
Fix tests and null strategy generation
---
.../idp/plugin/authn/webauthn/impl/GenerateServerChallenge.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/GenerateServerChallenge.java b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/GenerateServerChallenge.java
index 9290502..3158880 100644
--- a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/GenerateServerChallenge.java
+++ b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/impl/GenerateServerChallenge.java
@@ -66,7 +66,9 @@ public class GenerateServerChallenge extends AbstractWebAuthnAction<BaseWebAuthn
@Override
protected void doInitialize() throws ComponentInitializationException {
super.doInitialize();
- challengeGeneratorStrategy = new DefaultChallengeGenerator();
+ if (challengeGeneratorStrategy == null) {
+ challengeGeneratorStrategy = new DefaultChallengeGenerator();
+ }
}
/**
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list