Skip to content

Commit 11af52d

Browse files
committed
Remove option to use default plugin from DatabaseUserExtension
Always specifying explicitly or otherwise intentionally calling with `null` for `plugin` and accepting the consequences is better. Rationale: the Firebird setup on GitHub Actions has Legacy_UserManager as the default, and this results in breaking tests because Jaybird will by default only try Srp256 and Srp to connect.
1 parent 79fb276 commit 11af52d

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/test/org/firebirdsql/common/extension/DatabaseUserExtension.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,6 @@ public static DatabaseUserExtension withDatabaseUser() {
5252
return new DatabaseUserExtension();
5353
}
5454

55-
/**
56-
* Create a database user.
57-
* <p>
58-
* On Firebird 3.0 or higher this uses the default user manager plugin.
59-
* </p>
60-
*
61-
* @param username
62-
* username
63-
* @throws SQLException
64-
* For errors creating the user.
65-
*/
66-
public void createUser(String username, String password) throws SQLException {
67-
createUser(username, password, null);
68-
}
69-
7055
/**
7156
* Create a database user with the specified username and plugin.
7257
* <p>

0 commit comments

Comments
 (0)