I have a custom login module from which I authenticate against an external system. I need this login module to create a different Principal implementation other than SimplePrincipal. I have attempted doing so by overriding "commit" but getUserPrincipal (from a servlet) still returns a SimplePrincipal.
I'm using 3.2.3 currently, but moving to a latter 3.2 is an option if nessasary.
Any hints very welcome.