[java-idp-plugin-webauthn] branch main updated: Improve default error and registration messages

Phil Smart philip.smart at jisc.ac.uk
Thu Nov 28 16:08: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=68809fca3318e885eec38d4aead514920b14e38c

The following commit(s) were added to refs/heads/main by this push:
     new 68809fc  Improve default error and registration messages
68809fc is described below

commit 68809fca3318e885eec38d4aead514920b14e38c
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Nov 28 16:08:51 2024 +0000

    Improve default error and registration messages
---
 .../context/navigate/RegistrationErrorMessageLookupFunction.java        | 2 +-
 .../webauthn/context/navigate/WebAuthnErrorMessageLookupFunction.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/RegistrationErrorMessageLookupFunction.java b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/RegistrationErrorMessageLookupFunction.java
index da78037..5c9e2a1 100644
--- a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/RegistrationErrorMessageLookupFunction.java
+++ b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/RegistrationErrorMessageLookupFunction.java
@@ -108,7 +108,7 @@ public class RegistrationErrorMessageLookupFunction extends ApplicationObjectSup
         String message = messageSource.getMessage(classifiedMessage, "");
         if (message.isEmpty()) {
             message = messageSource.getMessage( genericMessageID != null ? genericMessageID : 
-                "idp.webauthn.register.message", "Registration result: " 
+                "idp.webauthn.register.message", "Registration Result: " 
                     + classifiedMessage);
         }        
         if (message.isEmpty()) {
diff --git a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/WebAuthnErrorMessageLookupFunction.java b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/WebAuthnErrorMessageLookupFunction.java
index 26e2b97..cd17a8e 100644
--- a/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/WebAuthnErrorMessageLookupFunction.java
+++ b/webauthn-api/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/context/navigate/WebAuthnErrorMessageLookupFunction.java
@@ -113,7 +113,7 @@ public class WebAuthnErrorMessageLookupFunction extends ApplicationObjectSupport
         String message = messageSource.getMessage(classifiedMessage, "");
         if (message.isEmpty()) {
             message = messageSource.getMessage( genericMessageID != null ? genericMessageID : 
-                "idp.webauthn.message", "Registration result: " 
+                "idp.webauthn.message", "WebAuthn Failure: " 
                     + classifiedMessage);
         }        
         if (message.isEmpty()) {

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


More information about the commits mailing list