[java-idp-plugin-webauthn] branch main updated: Remove redundant expression logic

Phil Smart philip.smart at jisc.ac.uk
Fri Aug 22 09:40:22 UTC 2025


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=c7d3ca411e7b9549c42e62891d658b7404143bb8

The following commit(s) were added to refs/heads/main by this push:
     new c7d3ca4  Remove redundant expression logic
c7d3ca4 is described below

commit c7d3ca411e7b9549c42e62891d658b7404143bb8
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Aug 22 10:40:20 2025 +0100

    Remove redundant expression logic
---
 .../webauthn-registration/webauthn-registration-beans.xml    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/admin/webauthn-registration/webauthn-registration-beans.xml b/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/admin/webauthn-registration/webauthn-registration-beans.xml
index 4567546..72d684f 100644
--- a/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/admin/webauthn-registration/webauthn-registration-beans.xml
+++ b/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/admin/webauthn-registration/webauthn-registration-beans.xml
@@ -209,16 +209,16 @@
         p:populateAuditContextAction="#{%{idp.authn.webauthn.registration.audit.enabled:false} ? getObject('RegistrationOperationPopulateAuditContext') : null}"
         p:writeAuditLogAction="#{%{idp.authn.webauthn.registration.audit.enabled:false} ? getObject('WriteAdminAuditLog') : null}"
         p:auditContextCreationStrategy-ref="AdminAuditContextLookup"
-        p:onSuccessAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.UpdateCredentialNicknameAuditSuccessHook') ?:  getObject('shibboleth.authn.WebAuthn.audit.UpdateCredentialNicknameAuditSuccessHook')}"
-        p:onFailureAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.UpdateCredentialNicknameAuditFailureHook') ?:  getObject('shibboleth.authn.WebAuthn.audit.UpdateCredentialNicknameAuditFailureHook')}"/>   
+        p:onSuccessAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.UpdateCredentialNicknameAuditSuccessHook')}"
+        p:onFailureAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.UpdateCredentialNicknameAuditFailureHook')}"/>   
 
     <bean id="DeletePublicKeyCredential" parent="AbstractWebAuthnRegistrationAction" scope="prototype"
         class="net.shibboleth.idp.plugin.authn.webauthn.admin.impl.DeletePublicKeyCredential" 
         p:populateAuditContextAction="#{%{idp.authn.webauthn.registration.audit.enabled:false} ? getObject('RegistrationOperationPopulateAuditContext') : null}"
         p:writeAuditLogAction="#{%{idp.authn.webauthn.registration.audit.enabled:false} ? getObject('WriteAdminAuditLog') : null}"
         p:auditContextCreationStrategy-ref="AdminAuditContextLookup" 
-        p:onSuccessAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.DeleteKeyAuditSuccessHook') ?:  getObject('shibboleth.authn.WebAuthn.audit.DeleteKeyAuditSuccessHook')}"
-        p:onFailureAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.DeleteKeyAuditFailureHook') ?:  getObject('shibboleth.authn.WebAuthn.audit.DeleteKeyAuditFailureHook')}"/>        
+        p:onSuccessAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.DeleteKeyAuditSuccessHook')}"
+        p:onFailureAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.DeleteKeyAuditFailureHook')}"/>        
 
     <bean id="CheckRegistrationPolicy" parent="AbstractWebAuthnRegistrationAction" scope="prototype"
         class="net.shibboleth.idp.plugin.authn.webauthn.admin.impl.CheckRegistrationPolicy"
@@ -238,8 +238,8 @@
         p:populateAuditContextAction="#{%{idp.authn.webauthn.registration.audit.enabled:false} ? getObject('RegistrationOperationPopulateAuditContext') : null}"
         p:writeAuditLogAction="#{%{idp.authn.webauthn.registration.audit.enabled:false} ? getObject('WriteAdminAuditLog') : null}"
         p:auditContextCreationStrategy-ref="AdminAuditContextLookup" 
-        p:onSuccessAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.AddKeyAuditSuccessHook') ?:  getObject('shibboleth.authn.WebAuthn.audit.AddKeyAuditSuccessHook')}"
-        p:onFailureAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.AddKeyAuditFailureHook') ?:  getObject('shibboleth.authn.WebAuthn.audit.AddKeyAuditFailureHook')}"/>    
+        p:onSuccessAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.AddKeyAuditSuccessHook')}"
+        p:onFailureAuditHook="#{getObject('shibboleth.authn.WebAuthn.audit.AddKeyAuditFailureHook')}"/>    
         
    <bean id="InlineEnrolmentRedirectFunction" class="net.shibboleth.idp.plugin.authn.webauthn.admin.impl.InlineEnrolmentRedirectFunction"/>    
 

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


More information about the commits mailing list