Skip to content

Commit

Permalink
Replace deprecated API usage in ApplicationErrorJdbc (#408)
Browse files Browse the repository at this point in the history
* Replace RandomStringUtils#randomAlphanumeric with
  RandomStringUtils.secure().nextAlphanumeric(...)
  • Loading branch information
sleberknight authored Sep 2, 2024
1 parent cc9f0d6 commit 97cf12e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class ApplicationErrorJdbc {
private static final String H2_DRIVER = "org.h2.Driver";
private static final String H2_IN_MEMORY_DB_URL = "jdbc:h2:mem:dw-app-errors;DB_CLOSE_DELAY=-1";
private static final String H2_IN_MEMORY_DB_USERNAME = "appErrorUser";
private static final String H2_IN_MEMORY_DB_PASSWORD = RandomStringUtils.randomAlphanumeric(20);
private static final String H2_IN_MEMORY_DB_PASSWORD = RandomStringUtils.secure().nextAlphanumeric(20);

private static final String H2_EMBEDDED_IN_MEMORY_URL_PREFIX = "jdbc:h2:mem:";
private static final String H2_EMBEDDED_FILE_EXPLICIT_URL_PREFIX = "jdbc:h2:file:";
Expand Down

0 comments on commit 97cf12e

Please sign in to comment.