shiro medium specific realm

Password role is to do the comparison of
yesterday, when I carefully tracked throughout the main access to information design, get AuthenticationInfo by uniquely identifies the user and then AuthenticationToken (username and password), compare! Class has a special design, to match the password comparison processing. And complex -

AuthenticatingRealm has a member variable
private CredentialsMatcher credentialsMatcher; matching credentials, the password is more spicy. This is an interface! The default implementation is SimpleCredentialsMatcher this class! Are oriented programming interface of ~

AuthenticatingRealm a class function, achieved by matching, comparing the work of password information.

https://blog.csdn.net/u012881904/article/details/53843386

Guess you like

Origin www.cnblogs.com/19322li/p/11098381.html