We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d3bb1 commit eb8a5ffCopy full SHA for eb8a5ff
src/main/java/com/github/throyer/common/springboot/utils/Constants.java
@@ -25,11 +25,9 @@ public Constants(
25
}
26
27
public static class SECURITY {
28
- public static final JsonWebToken JWT = new JsonWebToken();
29
public static final Integer DAY_MILLISECONDS = 86400;
30
-
31
- public static final Integer PASSWORD_STRENGTH = 10;
32
- public static final BCryptPasswordEncoder PASSWORD_ENCODER = new BCryptPasswordEncoder(PASSWORD_STRENGTH);
+ public static final JsonWebToken JWT = new JsonWebToken();
+ public static final BCryptPasswordEncoder PASSWORD_ENCODER = new BCryptPasswordEncoder(10);
33
34
public static final String ROLES_KEY_ON_JWT = "roles";
35
public static final String INVALID_USERNAME = "Invalid username.";
0 commit comments