[java-idp-plugin-webauthn] branch main updated: Fix accidental testing commit
Phil Smart
philip.smart at jisc.ac.uk
Wed Jul 23 17:23:03 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=dc9a3363d88d53988c073b949e3587aca93fb6e1
The following commit(s) were added to refs/heads/main by this push:
new dc9a336 Fix accidental testing commit
dc9a336 is described below
commit dc9a3363d88d53988c073b949e3587aca93fb6e1
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Jul 23 18:23:01 2025 +0100
Fix accidental testing commit
---
.../webauthn/storage/impl/WebAuthnJDBCAcceleratorImpl.java | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/WebAuthnJDBCAcceleratorImpl.java b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/WebAuthnJDBCAcceleratorImpl.java
index 0afed33..96cb2a3 100644
--- a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/WebAuthnJDBCAcceleratorImpl.java
+++ b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/WebAuthnJDBCAcceleratorImpl.java
@@ -62,12 +62,12 @@ public final class WebAuthnJDBCAcceleratorImpl extends AbstractIdentifiableIniti
/** The SQL to query for all records by userHandle.*/
static final String DEFAULT_QUERY_BY_USERHANDLE_RECORD_SQL =
"SELECT version, expires, value FROM StorageRecords, JSON_TABLE(value,'$[*]' "
- + "COLUMNS (uid text PATH '$.userIdentity.id')) AS cred WHERE context=? AND cred.uid = ?";
+ + "COLUMNS (uid text PATH '$.userIdentity.id')) AS cred WHERE context=? AND cred.uid=?";
/** The SQL to query for all records by credentialId.*/
static final String DEFAULT_QUERY_BY_CREDENTIALID_RECORD_SQL =
"SELECT version, expires, value FROM StorageRecords, JSON_TABLE(value,'$[*]' "
- + "COLUMNS (cid text PATH '$.credential.credentialId')) AS cred WHERE context=? AND cred.cid = ?";
+ + "COLUMNS (cid text PATH '$.credential.credentialId')) AS cred WHERE context=? AND cred.cid=?";
/** The SQL to get all the records for a specific context.*/
static final String DEFAULT_READ_ALL_BY_CONTEXT_SQL =
@@ -261,12 +261,7 @@ public final class WebAuthnJDBCAcceleratorImpl extends AbstractIdentifiableIniti
log.trace("Read:: '{}' parameters: '{}'", sql, parameters);
if (parameters != null) {
for (int i=0; i< parameters.length; i++) {
- if (i==0) {
- stmnt.setString(i+1, parameters[i]);
- }
- if (i==1) {
- stmnt.setString(i+1, "{\"value\": \"TNQW8GGEE83ukZtlIM5JBikpbKWFhTDTitWwoEljy51sKZNzafQ9FkHWPyN-DJRSMBhb3SQpL3PDLyjrSEaB_g\"}");
- }
+ stmnt.setString(i+1, parameters[i]);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list