This content has been marked as final. Show 4 replies
Yes, you can extend the oracle.jheadstart.controller.jsf.bean.LoginBean and override the doCustomAuthentication method and stick in an encrypter function (just remember to add the same encrypter function to the user creation process that inserts/updates the password).
Not sure if that's the only way, but I've used the same custom class in 4 JHS projects and it works fine.
What is the best way to do the user creation override if using the JhsModel? To be honest, I feel like creating a separate Model that we can do whatever we want with, such as adding the hashing to the entity object for JHS_USERS. Have you ever modified the Model supplied from JHS? Or do you just create your own model from an admin perspective.
If you can help me with part two, that would be great and I can mark this question as answered!