Hello,
I'm trying to upgrade a 4.0.x installation to 5.1.x (time to upgrade plus looks easier to add oauth, saml etc)...
One bit I'm really struggling is via JDBC users can validate using one combination of username/password BUT if present we resolve the principal as a different username (again via JDBC). NB we have multiple authentication handlers and this bit is only needed for one of them.
This was pretty easy in 4.0.x as all setup via spring and I could wire in a PrincipalResolver.
I get the impression that in 5.1.x personDirectory is the thing to use but I'm struggling to see how to use it, never mind only kick in for one handler.
Please could somebody point me in the right direction?
Cheers
Sam