I am configuring Shiro via ini-file and don't get how to 1. tell the PasswordMatcher, where in the database to find the salt and 2. get the used salt from PasswordService after encrypting the password. (to save salt and password to databse)
this is the interesting part from my shiro.ini so far: jdbcRealm.authenticationQuery = SELECT password FROM user_account WHERE username = ? passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher passwordService = org.apache.shiro.authc.credential.DefaultPasswordService passwordMatcher.passwordService = $passwordService jdbcRealm.credentialsMatcher = $passwordMatcher -- View this message in context: http://shiro-user.582556.n2.nabble.com/How-to-use-PasswordService-with-salt-and-JdbcRealm-tp7579258.html Sent from the Shiro User mailing list archive at Nabble.com.
