Using Shiro's PasswordMatcher with a custom realm

前端 未结 3 2040
甜味超标
甜味超标 2021-01-20 12:53

I\'m using Apache Shiro with a custom JDBC realm to retrieve a user’s salt, password, hash algorithm name and number of hash iterations from the database which are all store

3条回答
  •  独厮守ぢ
    2021-01-20 13:31

    I posted a message on the Shiro mailing list and got a reply saying that the PasswordMatcher by default does not look at anything in the AuthenticationInfo other than authenticationInfo.getCredentials().

    For further details, the archived message on the mailing list is available at http://shiro-user.582556.n2.nabble.com/Migrating-from-HashedCredentialMatcher-to-PasswordMatcher-td7577808.html

提交回复
热议问题