Authentication:身份认证/登录,验证用户是不是拥有相应的身份。
Authorization:授权,即权限验证,验证某个已认证的用户是否拥有某个权限;即判断用户是否能做事情。
这里我们主要分析Authentication过程
一般在登陆方法中我们会这么写:

Subject subject =SecurityUtils.getSubject();
UsernamePasswordToken token = new UsernamePasswordToken(username, password);
subject.login(token);
其中username,paasword为客户端登陆请求传过来的账号密码,现在我们只要知道 token中含有客户端输入的账号密码,那么怎么和数据库中的做验证呢?
再看spring中shiro的一部分xml配置:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxwAAABlCAYAAADHwuWcAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABvISURBVHhe7Z3PcuREtof9PNVs6L400MC9TUc4GNoREBB44DIR7t6waG8m2LiDVbPirhwBz+ANGx7As2AegAfpeQvdOqk6paP0yT9SSS6V/S2+qFL+OZnKTKXOL5VVOnr30XuNcnp62jx48AAAAAAAAGASEBwAAAAAADAbCA4AAAAAAJgNBAcAAAAAAMwGggMAAAAAAGYDwQEAAAAAALOB4AAAAAAAgNlAcAAAAAAAwGwgOAAAAAAAYDYQHAAAAAAAMBsIDgAAAAAAmA0EBwAAAAAAzAaCAwAAAAAAZgPBAQAAAAAAs3FnBMdq9bj59fdXzR8vV278UlitjpuLq+vm+uqiOV7l67o6u6xKp6w+fta8+OW75vRk1axOnjevfvmqOfl42e0Rs1o9ak5ef9e8ev2seVx53tAyd/8fX1w1//rXvwLXl2dumn1yF8b/XOh1JW3jxc9NbfmHev3vu32XhF6H5//3v4EX3z9y0w3l8fdfbW2+On/ippmLu9K/h3p9LQHuL7uD4LhlEBx5ShPi0/PvRt3AVqsnzem6bWxeuYHdpUnjtvpfhAeC47DYt8NUW/6hOkT7bl9l9PwYiYSxTr3Os3O2Q5i3E3VLnX8qPGfLUtO/msa24Zi+mJPS9cX9NQ33l905EpGRw8u0BFarp80ff75ofv2s7fBDERxDGCc42ovAfvfSHio73VBff7W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2piOueI5U/d7xrmMXG59Km4kr2p6J2XN4GqXHltcXQsFx7xnFyXEspn4bbdF6YTVvC5huS16b34lLhU2Btxd9jNA5gvzxo/h9VaOiv1uoPrQAAAABJRU5ErkJggg==" alt="" />
MyRealm类:
@Service
public class MyRealm extends AuthorizingRealm {
@Autowired
private UserSerivce userService;
@Override
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
SimpleAuthorizationInfo info = new SimpleAuthorizationInfo();
return info;
}
@Override
protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken)
throws AuthenticationException {
UsernamePasswordToken token = (UsernamePasswordToken) authenticationToken;
String account= token.getUsername();
User user = userService.getUserByAccount(account);
return new SimpleAuthenticationInfo(user, user.getCpassword(), getName());
} @Override
public void setCredentialsMatcher(CredentialsMatcher credentialsMatcher) {
HashedCredentialsMatcher shaCredentialsMatcher = new HashedCredentialsMatcher();
shaCredentialsMatcher.setHashAlgorithmName("SHA-256");
shaCredentialsMatcher.setHashIterations("1");
super.setCredentialsMatcher(shaCredentialsMatcher);
}
}
    上面securityManager是shiro的核心,其realm是我们自己定义的myRealm。doGetAuthorizationInfo跟授权相关我们先不看。大致上可以看出,doGetAuthenticationInfo方法返回的东西跟数据库中实际的用户名和密码有关,setCredentialsMatcher方法跟加密规则有关。    
       回到最开始的三行代码。subject.login(token),入参的token带有用户输入的账号密码,而我们的myRealm的方法返回值有数据库中该账号的密码。那么最后肯定是两者比较来进行认证。所以我们跟下subject.login方法。
DelegatingSubject:
 
public void login(AuthenticationToken token) throws AuthenticationException {
clearRunAsIdentitiesInternal();
Subject subject = securityManager.login(this, token);
......
}
因为我们的myRealm是在securityManager中,所以在跟下securityManager.login:
DefaultSecurityManager:
public Subject login(Subject subject, AuthenticationToken token) throws AuthenticationException {
AuthenticationInfo info;
try {
//看这里
info = authenticate(token);
} catch (AuthenticationException ae) {
try {
onFailedLogin(token, ae, subject);
} catch (Exception e) {
if (log.isInfoEnabled()) {
log.info("onFailedLogin method threw an " +
"exception. Logging and propagating original AuthenticationException.", e);
}
}
throw ae; //propagate
} Subject loggedIn = createSubject(token, info, subject); onSuccessfulLogin(token, info, loggedIn); return loggedIn;
}
前面MyRealm的doGetAuthenticationInfo方法返回的是SimpleAuthenticationInfo,其实是 AuthenticationInfo的子类,所以我再看authenticate()方法,因为使用了代理模式,实际调用在Authenticator类的子类
AbstractAuthenticator:
public final AuthenticationInfo authenticate(AuthenticationToken token) throws AuthenticationException {

    if (token == null) {
throw new IllegalArgumentException("Method argument (authentication token) cannot be null.");
} log.trace("Authentication attempt received for token [{}]", token); AuthenticationInfo info;
try {
//看这里
info = doAuthenticate(token);
if (info == null) {
String msg = "No account information found for authentication token [" + token + "] by this " +
"Authenticator instance. Please check that it is configured correctly.";
throw new AuthenticationException(msg);
}
} catch (Throwable t) {
AuthenticationException ae = null;
if (t instanceof AuthenticationException) {
ae = (AuthenticationException) t;
}
if (ae == null) {
//Exception thrown was not an expected AuthenticationException. Therefore it is probably a little more
//severe or unexpected. So, wrap in an AuthenticationException, log to warn, and propagate:
String msg = "Authentication failed for token submission [" + token + "]. Possible unexpected " +
"error? (Typical or expected login exceptions should extend from AuthenticationException).";
ae = new AuthenticationException(msg, t);
if (log.isWarnEnabled())
log.warn(msg, t);
}
try {
notifyFailure(token, ae);
} catch (Throwable t2) {
if (log.isWarnEnabled()) {
String msg = "Unable to send notification for failed authentication attempt - listener error?. " +
"Please check your AuthenticationListener implementation(s). Logging sending exception " +
"and propagating original AuthenticationException instead...";
log.warn(msg, t2);
}
} throw ae;
} log.debug("Authentication successful for token [{}]. Returned account [{}]", token, info); notifySuccess(token, info); return info;
}
又是一个方法返回AuthenticationInfo,再看下去。
ModularRealmAuthenticator:

protected AuthenticationInfo doAuthenticate(AuthenticationToken authenticationToken) throws AuthenticationException {
assertRealmsConfigured();
Collection<Realm> realms = getRealms();
if (realms.size() == 1) {
//看这里
return doSingleRealmAuthentication(realms.iterator().next(), authenticationToken);
} else {
return doMultiRealmAuthentication(realms, authenticationToken);
}
} protected AuthenticationInfo doSingleRealmAuthentication(Realm realm, AuthenticationToken token) {
if (!realm.supports(token)) {
String msg = "Realm [" + realm + "] does not support authentication token [" +
token + "]. Please ensure that the appropriate Realm implementation is " +
"configured correctly or that the realm accepts AuthenticationTokens of this type.";
throw new UnsupportedTokenException(msg);
}
//看这里
AuthenticationInfo info = realm.getAuthenticationInfo(token);
if (info == null) {
String msg = "Realm [" + realm + "] was unable to find account data for the " +
"submitted AuthenticationToken [" + token + "].";
throw new UnknownAccountException(msg);
}
return info;
}
我们就一个realm所以看doSingleRealmAuthentication,这次终于看到我们熟悉的MyRealm里的方法了?不对,还少了个do。继续跟进。
AuthenticatingRealm:

public final AuthenticationInfo getAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {

    AuthenticationInfo info = getCachedAuthenticationInfo(token);
if (info == null) {
//otherwise not cached, perform the lookup:
info = doGetAuthenticationInfo(token);
log.debug("Looked up AuthenticationInfo [{}] from doGetAuthenticationInfo", info);
if (token != null && info != null) {
cacheAuthenticationInfoIfPossible(token, info);
}
} else {
log.debug("Using cached authentication info [{}] to perform credentials matching.", info);
} if (info != null) {
assertCredentialsMatch(token, info);
} else {
log.debug("No AuthenticationInfo found for submitted AuthenticationToken [{}]. Returning null.", token);
} return info;
} protected void assertCredentialsMatch(AuthenticationToken token, AuthenticationInfo info) throws AuthenticationException {
CredentialsMatcher cm = getCredentialsMatcher();
if (cm != null) {
if (!cm.doCredentialsMatch(token, info)) {
//not successful - throw an exception to indicate this:
String msg = "Submitted credentials for token [" + token + "] did not match the expected credentials.";
throw new IncorrectCredentialsException(msg);
}
} else {
throw new AuthenticationException("A CredentialsMatcher must be configured in order to verify " +
"credentials during authentication. If you do not wish for credentials to be examined, you " +
"can configure an " + AllowAllCredentialsMatcher.class.getName() + " instance.");
}
}
      这个方法才是重头。整体逻辑就是,先从缓存根据token取认证信息(AuthenticationInfo),若没有,则调用我们自己实现的MyRealm中的doGetAuthenticationInfo去获取,然后尝试缓存,最后再通过assertCredentialsMatch去验证token和info,assertCredentialsMatch则会根据MyReaml中setCredentialsMatcher我们设置的加密方式去进行相应的验证。
  整个流程的牵涉到的uml图:
 我们在xml配置文件中配置的MyRealm会被放到RealmSecurityManager的reals集合中,也就是说SercurityManager和下图中的AuthenticatingRealm是一对多的关系。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkQAAAHVCAYAAAAQMuQhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAERZSURBVHhe7dtrd9RGvvf9+/3sde3rmslKZq8kk8kQCDb4jI9tYxMw2JzZGeIYcpgQIGCwOewNCafMhMysGDuvYDpr7Ze1n9Zd/1JXd7W6pG7b3bJK+j74LKtVB5WqJdUPYf9///Zv/6YAAADKjEAEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEAABKj0AEFMjY2JhaXV1FifiuAwA7RyACCkQCkVg+OYoSkO/adx0A2DkCEVAgNhCdOTGCEiAQAd1DIAIKxAai0wvDKAECEdA9BCKgQGwgWpwfQgkQiIDuIRABBWID0anjgygBAhHQPQQioEBsIDo5N4ASIBAB3UMgAgrEBqJPZo+iBAhEQPcQiIACsYHoROVoewtH1ZnVYXV2bUyd/69jhmzLPinztkGuEIiA7iEQAQViA9HCzJFUpy4OqPOPj6kLT/2kTOr42ubN/PQV9WP1jdo43+8t74b587fUrz0+xm4QiIDuIRABBWID0fx0f6JTF3QYejqmLjxJJ3Wkrq+Pbpmbmlcb21VVfXnFW96Juakr6lV1U22c6/OWd8PcOQlEvT3GbhCIgO4hEAEFYgPR3FSf1/HjfercYx12JPB0QOpKG19fC7c/ViceHTJk21enndmzN9Wv25s6bHyvvpw87K0TNzs5p9Z1iHp1Lao/O3nZBKL1s52170T8GHvV7f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X6o+DE+rd4Zx6P3+udvyVGSNjZU50jWZnt+1sY0PZr3RkdCzKmZ76sczlIERf9ajs/IYOy76qzAfnlx7sH43PZiZVRQKmx9Xn1ccG54P96JrhdcrPw3U6zWu6hrmf6LzG61ceTAaf6WBDLdU+U8d7blkv3v2H64TXaV736LpH5zt8/o73K/Pa3V/nfRti3l2IeUrIg5M1D2GrqWyful3ZNNt92z91JGNkrMyJrtGstCHx7mkgx2xjQ+XnOkjPL3c8vvTtL0dv7Ac6QAcSl5HPGs5JjBaHL+mY/KIqc8G5iREJXGR/bkPPrf+vgL2r4TiJUPt5DdeY+2vD9aNrmgDq48H8+nU63nNkvePuo/Fa+vi3tQhHrhl+pvr8+vfY/vO3v9/gntrdX+d9G2LeXYh5SsiDM2EeQrv5uYL5aQt4VHQs0mP86neq+utf9V9in1rPpxEx7y7EPCXkwRnXD/px+h7sqtNbP1nJOdsc/GeNDeVU5dfv1PrQJ7X9FbWr37IP7udaxqYZMe8uxDwl5MEZ1Q//cTKjvWpw5bLqv7Wp+r7dNWRbjsk52xz852XO/aXh1yQH97PWcWlGzLsLMU8JeXAygzoCQEoQ8+5CzFNCHpyRgY+B1CDm3YWYp4Q8OMNn/gykBjHvLsQ8JeTBGeo/AaQGMe8uxDwl5MEZ7PsISA1i3l2IeUrIgzNw+kMgNYh5dyHmKSEPTqFQAFKDmHcXYp4S8uAAaWP7s4p0IuYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgAOIOYA4ABiDgBd7x31/9rJIidkHA5HAAAAAElFTkSuQmCC" alt="" />
 
总结:一路跟踪下来其实学到不少,比如ModularRealmAuthenticator类中如果realm有多个那会走doMultiRealmAuthentication()方法,而ModularRealmAuthenticator类有个authenticationStrategy属性,在doMultiRealmAuthentication()方法中有用到,看名字就知道,使用了策略模式实现了各种realm的匹配规则。总而言之,流行起来的框架随便看一看都会有很多收获,希望有一天自己也能写出这样的代码。
 
 

shiro 密码如何验证?的更多相关文章

  1. Shiro自定义realm实现密码验证及登录、密码加密注册、修改密码的验证

    一:先从登录开始,直接看代码 @RequestMapping(value="dologin",method = {RequestMethod.GET, RequestMethod. ...

  2. Shiro固定身份验证

    Shiro基础身份验证 如果要进行shiro的日志信息读取,那么需要使用一个org.apache.shiro.util.Factory接口,在这个接口里面定义有一 取得SecuruityManager ...

  3. 基于权限安全框架Shiro的登录验证功能实现

    目前在企业级项目里做权限安全方面喜欢使用Apache开源的Shiro框架或者Spring框架的子框架Spring Security. Apache Shiro是一个强大且易用的Java安全框架,执行身 ...

  4. 第五章:shiro密码加密

    在涉及到密码存储问题上,应该加密/生成密码摘要存储,而不是存储明文密码.比如之前的600w csdn账号泄露对用户可能造成很大损失,因此应加密/生成不可逆的摘要方式存储. 5.1 编码/解码 Shir ...

  5. shiro登陆权限验证

    一>引入shirojar包 <!-- shiro登陆权限控制 -->        <dependency>            <groupId>org. ...

  6. Shiro笔记---身份验证

    1.shiro有哪些主要功能 2.搭建shiro环境(*) idea2018.2.maven3.5.4.jdk1.8   项目结构: pom.xml: <dependencies> < ...

  7. Shiro -- (二) 身份验证基本流程

    简介: 在 shiro 中,用户需要提供 principals (身份)和 credentials(证明)给 shiro,从而应用能验证用户身份: principals:身份,即主体的标识属性,可以是 ...

  8. SpringBoot 整合 Shiro 密码登录与邮件验证码登录(多 Realm 认证)

    导入依赖(pom.xml)  <!--整合Shiro安全框架--> <dependency> <groupId>org.apache.shiro</group ...

  9. 基于Hadoop的密码安全级别验证

    学习Hadoop有一段时间了,期间写过很多Demo,都是针对单个知识点做的验证,今天写个完整的应用程序——基于Hadoop的密码安全级别验证. 在很多网站上注册用户时输入密码都会在下方提示密码安全级别 ...

随机推荐

  1. (转)python中的参数:*args和**kwargs

    def foo(*args, **kwargs):print 'args = ', argsprint 'kwargs = ', kwargsprint '---------------------- ...

  2. 五款超实用的开源 SVG 工具

    英文链接:Idrsolutions SVG(Scalable Vector Graphics)是基于 XML 的矢量图像格式,用户可灵活运用图像进行搜索.索引.脚本以及压缩(来自:湖北教育考试网).S ...

  3. hdu4525

    可以发现天的操作相当于*(k1+k2) 然后就很好判断了. 威威猫系列故事——吃鸡腿 Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 6 ...

  4. will-change

    目的: 让GPU分担CPU的工作,从而优化和分配内存,告知浏览器做好动画的准备. 背景: 注意事项: 1,will-change虽然可以加速,但是,一定一定要适度使用: 2,使用伪元素,独立渲染: 不 ...

  5. SG函数入门

    sg[i]为0表示i节点先手必败. 首先定义mex(minimal excludant)运算,这是施加于一个集合的运算,表示最小的不属于这个集合的非负整数.例如mex{0,1,2,4}=3.mex{2 ...

  6. [黑金原创教程] FPGA那些事儿《设计篇 I》- 图像处理前夕

    简介 一本为入门图像处理的入门书,另外还教你徒手搭建平台(片上系统),内容请看目录. 注意 为了达到最好的实验的结果,请准备以下硬件. AX301开发板, OV7670摄像模块, VGA接口显示器, ...

  7. angular 2+ innerHTML属性中内联样式丢失

    通过属性绑定的innerHTML,把字符串里面的html解析 解析是没问题的,但一些内联样式会丢失掉 为了不丢掉样式,需要自定义一个管道来解决这个问题 html.pipe.ts import {Pip ...

  8. ipad4没有声音提示消息

    打开『设置』-『通用』-侧边开关用于: 1:锁定屏幕旋转 2:静音 √ 把对号去掉 选择1即可

  9. 160420、zTree获取所有选中节点数据

    <!DOCTYPE html><HTML><HEAD> <TITLE> ZTREE DEMO - Standard Data </TITLE> ...

  10. Python--进阶处理9

    # =========================第九章:元编程============================= # ----------------在函数上添加包装器--------- ...