Question

I have an application that create and administrate user using 'FOSUserBundle' in 'PHP'.

But now I want to create a Java WebService that should allow these users to login.

How can I reimplement the 'FOSUserBundle' encoder in Java?

Was it helpful?

Solution

Java has implementation of "PBKDF2" algorithm as "PBKDF2WithHmacSHA1".

You can import those libs and generate/ check passwords using the same params.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top