Skip to content

Commit 0d7ceab

Browse files
robertpatrickmarkt-asf
authored andcommitted
Fix #1006: remove hard-coded user names and passwords
1 parent 15b1db4 commit 0d7ceab

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

tck/tck-runtime/src/main/java/servlet/tck/common/request/SecBasicClient.java

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,15 @@ public abstract class SecBasicClient extends BaseTckTest {
8181
*
8282
*
8383
*/
84-
84+
@Override
8585
public void setup(String[] args, Properties p) throws Exception {
8686
super.setup(args, p);
8787

88-
// TOFIX configurable
89-
// user=j2ee
90-
// password=j2ee
91-
// authuser=javajoe
92-
// authpassword=javajoe
93-
94-
p.setProperty(USERNAME, "j2ee");
95-
p.setProperty(PASSWORD, "j2ee");
96-
p.setProperty(UNAUTH_USERNAME, "javajoe");
97-
p.setProperty(UNAUTH_PASSWORD, "javajoe");
88+
// Configurable in BaseTckTest super class.
89+
// user=j2ee
90+
// password=j2ee
91+
// authuser=javajoe
92+
// authpassword=javajoe
9893

9994
try {
10095
username = p.getProperty(USERNAME);

0 commit comments

Comments
 (0)