Hello all! I am new to Shiro, and I have been creating my web application with it, and so far so good.
The problem now is that I have another application that will also be using the same DB, Login Info, etc, as it's part of the web app. I haven't actually done the password matching or anything yet, but I found this code. # password matcher -#sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher -#sha256Matcher.hashAlgorithmName=SHA-256 -#sha256Matcher.hashIterations=500000 -passwordMatcher = org.apache.shiro.authc.credential.TempFixPasswordMatcher +passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher passwordService = org.apache.shiro.authc.credential.DefaultPasswordService passwordMatcher.passwordService = $passwordService https://github.com/pires/simple-shiro-web-app/commit/dce2578cb658d2ec05c597b29c0617b2ac5f6023 The -'s and + are the changes, but from what I see here I create the random password matcher which is then named such, but how do I access this from another application, this one is going to be on the user's machine so I'm curious how they interact, or if I create another matcher, which in that case, how do I get the same pattern matching? I also will need to connect up to the DB too, so I'm assuming I would use the same realm info or data source objects. I'm just curious if anyone has any advice, or has any information that could lead me in the right path? Thanks all, I appreciate the time and help, -- View this message in context: http://shiro-user.582556.n2.nabble.com/Connecting-multiple-applications-to-the-same-DB-with-hashed-passwords-tp7580202.html Sent from the Shiro User mailing list archive at Nabble.com.
