[java-idp-plugin-webauthn] branch main updated: Add Javadoc

Phil Smart philip.smart at jisc.ac.uk
Fri Aug 9 15:22:53 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=179f50426a88786f08d6a6e3e06564e6ce6ab806

The following commit(s) were added to refs/heads/main by this push:
     new 179f504  Add Javadoc
179f504 is described below

commit 179f50426a88786f08d6a6e3e06564e6ce6ab806
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Aug 9 16:22:51 2024 +0100

    Add Javadoc
---
 .../authn/webauthn/admin/impl/DeletePublicKeyCredential.java      | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/DeletePublicKeyCredential.java b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/DeletePublicKeyCredential.java
index 15487af..026cd45 100644
--- a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/DeletePublicKeyCredential.java
+++ b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/DeletePublicKeyCredential.java
@@ -117,7 +117,13 @@ public class DeletePublicKeyCredential extends AbstractWebAuthnAuditingAction<We
         context.setCredentialIdToRemove(null);
     }
     
-    @Nullable private String getCredentialIdBase64OrNull(final byte[] credentialId) {
+    /**
+     * Convert the credential ID in bytes to a Base64URL encoded string.
+     * 
+     * @param credentialId the credential identifier in bytes
+     * @return the credential identifier as a base64URL encoded string.
+     */
+    @Nullable private String getCredentialIdBase64OrNull(@Nonnull final byte[] credentialId) {
         try {
             return Base64Support.encodeURLSafe(credentialId);
         } catch (final EncodingException e) {

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


More information about the commits mailing list