摘要:
认证为了保证密码的相对安全需要对密码进行加密处理了,加密的方式有很多最常使用MD5加密,加盐 MD5特点:不可逆 public static void main(String[] args) { //md5+salt+hash Md5Hash md5Hash = new Md5Hash("123", 阅读全文
摘要:
认证 固定数据 Realm @Override protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken) throws AuthenticationException { 阅读全文