[java-identity-provider] branch maint-3.4 updated: IDP-1415 - Attaching SPProvidedID to NameID uses wrong SQL statement
Scott Cantor
cantor.2 at osu.edu
Wed Sep 4 14:23:32 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-3.4
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=fac03e5c8404ccf2bb81b548094baf3928fb5d98
The following commit(s) were added to refs/heads/maint-3.4 by this push:
new fac03e5 IDP-1415 - Attaching SPProvidedID to NameID uses wrong SQL statement
fac03e5 is described below
commit fac03e5c8404ccf2bb81b548094baf3928fb5d98
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 6 18:15:08 2019 -0500
IDP-1415 - Attaching SPProvidedID to NameID uses wrong SQL statement
https://issues.shibboleth.net/jira/browse/IDP-1415
(cherry picked from commit 447e5a8d5df52339d5b1bfc0f95d42fe4960d315)
---
.../net/shibboleth/idp/saml/nameid/impl/JDBCPersistentIdStoreEx.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/JDBCPersistentIdStoreEx.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/JDBCPersistentIdStoreEx.java
index 568d8dc..c170133 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/JDBCPersistentIdStoreEx.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/nameid/impl/JDBCPersistentIdStoreEx.java
@@ -690,7 +690,7 @@ public class JDBCPersistentIdStoreEx extends AbstractInitializableComponent impl
log.trace("{} Setting prepared statement parameter {}: {}", getLogPrefix(), 4, persistentId);
try (final Connection dbConn = getConnection(true)) {
- final PreparedStatement statement = dbConn.prepareStatement(deactivateSQL);
+ final PreparedStatement statement = dbConn.prepareStatement(attachSQL);
statement.setQueryTimeout((int) (queryTimeout / 1000));
statement.setString(1, spProvidedId);
statement.setString(2, nameQualifier);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list