|
|
|
@ -205,7 +205,7 @@ public class SysUserPasswordUtil {
|
|
|
|
|
* @param content
|
|
|
|
|
*/
|
|
|
|
|
private void checkPasswordSpecial(String content) {
|
|
|
|
|
boolean isUppercaseEnglish = RedisCacheTool.getSysConfigBooleanVal(CommonConstWords.CONFIG_PWD_EXIST_NUMBER, CommonEnumUtil.TRUE_OR_FALSE.FALSE);
|
|
|
|
|
boolean isUppercaseEnglish = RedisCacheTool.getSysConfigBooleanVal(CommonConstWords.CONFIG_PWD_EXIST_SPECIAL_CHAR, CommonEnumUtil.TRUE_OR_FALSE.FALSE);
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(content) && isUppercaseEnglish) {
|
|
|
|
|
char[] chars = content.toCharArray();
|
|
|
|
@ -300,7 +300,7 @@ public class SysUserPasswordUtil {
|
|
|
|
|
private void checkPasswordRepeat(String content) {
|
|
|
|
|
String regulars = RedisCacheTool.getSysConfigStrVal(CommonConstWords.CONFIG_PWD_REPEAT_REGULARS);
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(regulars) && regulars.indexOf(",") != -1) {
|
|
|
|
|
if (StringUtils.isNotBlank(regulars) && regulars.contains(",")) {
|
|
|
|
|
String[] split = regulars.split(",");
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|