增加验证器PasswordValidator

This commit is contained in:
zhou-hao
2020-08-25 11:38:28 +08:00
parent 1254ba2379
commit a94aeba0c1
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package org.hswebframework.web.system.authorization.api;
public interface PasswordValidator {
void validate(String password);
}

View File

@@ -0,0 +1,7 @@
package org.hswebframework.web.system.authorization.api;
public interface UsernameValidator {
void validate(String password);
}