File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/main/java/com/github/throyer/common/springboot/utils Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,9 @@ public Constants(
25
25
}
26
26
27
27
public static class SECURITY {
28
- public static final JsonWebToken JWT = new JsonWebToken ();
29
28
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 );
29
+ public static final JsonWebToken JWT = new JsonWebToken ();
30
+ public static final BCryptPasswordEncoder PASSWORD_ENCODER = new BCryptPasswordEncoder (10 );
33
31
34
32
public static final String ROLES_KEY_ON_JWT = "roles" ;
35
33
public static final String INVALID_USERNAME = "Invalid username." ;
You can’t perform that action at this time.
0 commit comments