在前面分析的基础上我们来继续看下认证的过程
1.DelegatingSubject类中的login 方法
2.DefaultSecurityManager类的login方法
3.AuthenticatingSecurityManager类中authenticate方法
4.AbstractAuthenticator类中的authenticate方法
5.ModularRealmAuthenticator类中的doAuthenticate方法
doSingleRealmAuthentication方法
6.AuthenticatingRealm类中的getAuthenticationInfo方法
7.SimpleAccountRealm类中执行doGetAuthenticationInfo方法
8.CredentialsMatcher中密码验证
至此整个过程结束