
io.leopard.data.kit.password.PasswordVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leopard-kit Show documentation
Show all versions of leopard-kit Show documentation
常见数据源组合操作组件,如:新数量计数器(日、周、月等)、按自然时间的数量排名等。
The newest version!
package io.leopard.data.kit.password;
import io.leopard.core.exception.forbidden.PasswordWrongException;
/**
* 密码检验器.
*
* @author 谭海潮
*
*/
public interface PasswordVerifier {
boolean verify(String username, String password, String salt, String dbEncryptedPassword);
void check(String username, String password, String salt, String dbEncryptedPassword) throws PasswordWrongException;
String makeToken(String dbEncryptedPassword);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy