how to authentificate user with salt passeword sha-1 with tomcat 7

439 Views Asked by At

I try to configure datasourceRealm using tomcat 7.0.x with user authentification data store in DataBase in two columns one with salt and another with hash. I don't know how to configure DataSourceRealm with password column and how to authentificate user. I'm newbie sorry if the question seems a little bit confuse. the things i would like to authentificate user with this existing DB. thanks for any helps.

1

There are 1 best solutions below

2
On

That is not supported out of the box. You'll need to implement a custom Realm for that.