[java-idp-plugin-webauthn] branch main updated: Fix bug in update method
Phil Smart
philip.smart at jisc.ac.uk
Thu Apr 11 17:04:21 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=28685a53e9ec2976a883e2df19832e6bad87df3d
The following commit(s) were added to refs/heads/main by this push:
new 28685a5 Fix bug in update method
28685a5 is described below
commit 28685a53e9ec2976a883e2df19832e6bad87df3d
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Apr 11 18:04:17 2024 +0100
Fix bug in update method
---
.../webauthn/storage/impl/IdPStorageServiceCredentialRespository.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/IdPStorageServiceCredentialRespository.java b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/IdPStorageServiceCredentialRespository.java
index e4ea264..d424a0d 100644
--- a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/IdPStorageServiceCredentialRespository.java
+++ b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/IdPStorageServiceCredentialRespository.java
@@ -337,7 +337,7 @@ public class IdPStorageServiceCredentialRespository extends AbstractIdentifiable
updateSet.remove(credentialRegistration);
if (updateSet.isEmpty()) {
//remove the entire storage record
- storageService.delete(STORAGE_CONTEXT, username);
+ return storageService.delete(STORAGE_CONTEXT, username);
} else {
//else, add back what remains
assert serializer != null;
@@ -354,4 +354,5 @@ public class IdPStorageServiceCredentialRespository extends AbstractIdentifiable
}
}
+
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list