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
If you store the credentials created by the Shiro Command Line Hasher in Shiro1CryptFormat, then you can use the DefaultPasswordService
in your realm:
final PasswordMatcher passwordMatcher = new PasswordMatcher();
passwordMatcher.setPasswordService(new DefaultPasswordService());
realm.setCredentialsMatcher(passwordMatcher);