I could not figure out how to use the existing factory class, so I wrote my own logic for this purpose.
Added a setting in configurations for pbkdf2-sha256 algorithm.
Added a class PBKDF2SHA256HashingUtil in org.opensingular.dbuserprovider.util package to verify the hashed password
Assuming the incoming password hash is coming from django in the format algo$no_of_iterations$salt$hash_base64_encoded
I used this repository for my personal project. If this section of code adds to the existing functionality of this repo, then you can consider this pull request. I'd be happy to make changes as required.
Database Used: PostgreSQL
Application using keycloak: Django 4.0.4
Closes #20
I could not figure out how to use the existing factory class, so I wrote my own logic for this purpose.
PBKDF2SHA256HashingUtil
inorg.opensingular.dbuserprovider.util
package to verify the hashed passwordalgo$no_of_iterations$salt$hash_base64_encoded
I used this repository for my personal project. If this section of code adds to the existing functionality of this repo, then you can consider this pull request. I'd be happy to make changes as required.
Thanks