3. Shiro: Authenticator
2020-08-18 18:23:09 0 举报
shiro的authentication部分.
作者其他创作
大纲/内容
JwtAuthcToken
Object getCredentials();
AllSuccessfulStrategy
merge(AuthenticationInfo info);
AuthenticationInfo authenticate(token)
boolean isRememberMe();
Authenticator
UsernamePasswordToken
doMultiRealmAuthentication()
Collection<AuthenticationListener> listeners;
AuthenticationStrategy authenticationStrategy
private char[] password;
doSingleRealmAuthentication()
SaltedAuthenticationInfo
String jwtCredentials;
Collection<Realm> realms
PrincipalCollection principals;
HostAuthenticationToken
PrincipalCollection getPrincipals();
notifyLogout(PrincipalCollection principals)
private String username;
ModularRealmAuthenticator
RememberMeAuthenticationToken
AbstractAuthenticationStrategy
Object getPrincipal();
ByteSource getCredentialsSalt();
SimpleAuthenticationInfo
doAuthenticate();
AuthenticationInfo authenticate( authenticationToken)
MergableAuthenticationInfo
Object getCredentials()
AuthenticationToken
FirstSuccessfulStrategy
AbstractAuthenticator
AtLeastOneSuccessfulStrategy
AuthenticationInfo
Shiro: Authentication部分
ByteSource credentialsSalt;
Object credentials;
String getHost();
AuthenticationStrategy
0 条评论
下一页