[java-idp-plugin-webauthn] branch main updated: Change usernameless default to true

Phil Smart philip.smart at jisc.ac.uk
Thu Feb 15 13:44:47 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=11d9c59b0d9bd48d7d7665212b52e83965c5e40d

The following commit(s) were added to refs/heads/main by this push:
     new 11d9c59  Change usernameless default to true
11d9c59 is described below

commit 11d9c59b0d9bd48d7d7665212b52e83965c5e40d
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Feb 15 13:44:44 2024 +0000

    Change usernameless default to true
---
 .../net/shibboleth/idp/flows/authn/WebAuthn/webauthn-beans.xml       | 2 +-
 .../idp/plugin/authn/webauthn/conf/authn/webauthn.properties         | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-beans.xml b/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-beans.xml
index dd3a6b4..fc33f7d 100644
--- a/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-beans.xml
+++ b/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-beans.xml
@@ -33,7 +33,7 @@
     
     <bean id="IsUsernamelessFlow" scope="prototype"
         class="net.shibboleth.idp.plugin.authn.webauthn.context.logic.UsernamelessFlowEnabled"
-        p:enabled="%{idp.authn.webauthn.usernameless.enabled:false}"/>
+        p:enabled="%{idp.authn.webauthn.usernameless.enabled:true}"/>
 
     <bean id="IsDiscoverableCredentialRequired" scope="prototype"
         class="net.shibboleth.idp.plugin.authn.webauthn.context.logic.IsDiscoverableCredentialRequired" />
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties
index 3d392a7..37e3021 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn.properties
@@ -29,10 +29,13 @@ idp.authn.webauthn.supportedPrincipals = \
 #idp.authn.webauthn.StorageService = shibboleth.StorageService
 
 ## Which type of flow is supported? Usernameless or passwordless
-#idp.authn.webauthn.usernameless.enabled = false
+#idp.authn.webauthn.usernameless.enabled = true
 
 # Registration properties.
 
+### Which authentication flows to require 
+idp.authn.webauthn.admin.registration.defaultAuthenticationMethods=saml2/urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
+
 # Require a residentKey (passkey) to be created when registering a credential. One-of 'discouraged', 'preferred', 'required'
 #idp.authn.webauthn.registration.residentKey = preferred
 

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


More information about the commits mailing list