[java-idp-plugin-webauthn] 03/04: Improve XML config files

Phil Smart philip.smart at jisc.ac.uk
Fri Nov 8 16:24:46 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=9829c2c15c6a20fb4d079ecdf3a46d69eb042674

commit 9829c2c15c6a20fb4d079ecdf3a46d69eb042674
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Nov 8 16:10:54 2024 +0000

    Improve XML config files
---
 .../authn/webauthn/conf/authn/webauthn-authentication-config.xml    | 6 +++---
 .../idp/plugin/authn/webauthn/conf/authn/webauthn-config.xml        | 4 ++--
 .../authn/webauthn/conf/authn/webauthn-registration-config.xml      | 5 +++--
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-authentication-config.xml b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-authentication-config.xml
index ad23afd..a627a7e 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-authentication-config.xml
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-authentication-config.xml
@@ -10,14 +10,14 @@
     default-init-method="initialize" default-destroy-method="destroy" default-lazy-init="true">
 
     <!-- 
-    The default list to add credential policies used during authentication. The property 
-    idp.authn.webauthn.credential.policy.enabled must be set to true for these to take effect.
-    
+        If enabled, the default list to add credential policies used during authentication.     
     -->
     <util:list id="shibboleth.authn.WebAuthn.ChainedCredentialPolicyList">
+    
         <bean id="SecondFactorOnlyCredentialPolicyRule" parent="shibboleth.authn.WebAuthn.AbstractCredentialPolicyRule"
                 class="net.shibboleth.idp.plugin.authn.webauthn.policy.impl.SecondFactorOnlyCredentialPolicyRule"
                 p:secondFactorOnlyAuthenticators="%{idp.authn.webauthn.authenticator.policy.secondFactorOnlyAuthenticators:null}"/>
+                
     </util:list>
     
 
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-config.xml b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-config.xml
index 4e6ca64..ef4f00b 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-config.xml
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-config.xml
@@ -13,8 +13,8 @@
 
         
     <!-- 
-    The default credential labeller list. Use during registration or management flows to label credential for display
-    purposes only. 
+    The default credential labeller list. Use during registration or management flows to label credentials for display
+    in the UI. 
     -->
     <util:list id="shibboleth.authn.WebAuthn.CredentialLabellerList">
     
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-registration-config.xml b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-registration-config.xml
index 3b1a7c1..c725782 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-registration-config.xml
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/conf/authn/webauthn-registration-config.xml
@@ -10,13 +10,14 @@
     default-init-method="initialize" default-destroy-method="destroy" default-lazy-init="true">
     
     <!-- 
-    The default list to add authenticator policies used during registration. The property 
-    idp.authn.webauthn.registration.authenticator.policy.enabled must be set to true for these to take effect.
+        If enabled, the default list to add authenticator policies used during registration.
     -->
     <util:list id="shibboleth.authn.WebAuthn.registration.ChainedRegistrationPolicyList">  
+    
         <bean id="AllowlistAuthenticatorPolicy" parent="shibboleth.authn.WebAuthn.registration.AbstractAuthenticatorPolicyRule" 
             class="net.shibboleth.idp.plugin.authn.webauthn.admin.policy.impl.AllowlistAuthenticatorPolicy"
             p:allowedAuthenticators="%{idp.authn.webauthn.registration.authenticator.policy.allowedAuthenticators:null}"/>
+            
     </util:list>    
         
 

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


More information about the commits mailing list