From 84a89b7b44dfc89c902f81a592ec1b1010b8fec3 Mon Sep 17 00:00:00 2001 From: Sanjay Dalal Date: Mon, 29 Jun 2009 21:05:23 +0000 Subject: [PATCH] CSPACE-226, uses user test/test consistently. hardcoded till datasource problem is resolved. --- .../org/collectionspace/authentication/CSpaceDBLoginModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/authentication/src/main/java/org/collectionspace/authentication/CSpaceDBLoginModule.java b/services/authentication/src/main/java/org/collectionspace/authentication/CSpaceDBLoginModule.java index 2b96d1e8f..404236030 100644 --- a/services/authentication/src/main/java/org/collectionspace/authentication/CSpaceDBLoginModule.java +++ b/services/authentication/src/main/java/org/collectionspace/authentication/CSpaceDBLoginModule.java @@ -135,7 +135,7 @@ public class CSpaceDBLoginModule extends DatabaseServerLoginModule { // InitialContext ctx = new InitialContext(); // DataSource ds = (DataSource) ctx.lookup(dsJndiName); // conn = ds.getConnection(); - conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/cspace", "root", "admin"); + conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/cspace", "test", "test"); // Get the user role names if(log){ log("Excuting query: " + rolesQuery + ", with username: " + username); -- 2.47.3