自定义realm中认证过程是否有漏洞?
在自定义的realm中认证,首先要根据主体提交的用户名去数据库或缓存中查找密码,为什么只判空?
我在自定义的realm中设置加密方式为md5,加密次数是1,密码数据密码是经过Md5hash加密明文密码后toString的值,测试时无法通过认证,shiro.authc.IncorrectCredentialsException Submitted credentials for token did not match the expected credentials