Hi Tarka,

This isn't really necessary anymore if you're using passwords.  You
can use Shiro 1.2's PasswordService:

http://shiro.apache.org/static/current/apidocs/org/apache/shiro/authc/credential/PasswordService.html
and
http://www.stormpath.com/blog/2012/03/12/whats-new-in-apache-shiro-12.html
(see the 'PasswordService' section)

HTH,

Les

On Wed, Apr 11, 2012 at 10:12 AM, tarka <[email protected]> wrote:
> Hi Shiro Users,
>
> I'm a newbe with Shiro so my apologies if this is a really basic question.
> I have been reading through the documentation to try to get Shiro to read a
> salted password from a database. I've followed the reference at
> http://shiro.apache.org/realm.html however I'm confused with regards to the
> 'SaltedAuthenticationInfo'.
>
> Do I need to create a custom realm class that extends JdbcRealm? Presumably
> if thats the case I would then need to edit my shiro.ini jdbcRealm to
> reference my custom realm:
>
> from: jdbcRealm = org.apache.shiro.realm.jdbc.JdbcRealm
> to: jdbcRealm = my.package.SaltedAuthenticationInfo
>
> Any help would be very welcome.
>
> Thanks in advance.
>
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Reading-salted-password-with-SaltedAuthenticationInfo-tp7456785p7456785.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to