This was working. now on v 6.6.8 and does not seem to be working any more:
Config:
cas.authn.ldap[0].searchFilter: (|(uid={user})(mail={user}))
cas.authn.ldap[0].principal-attribute-id: uid
cas.authn.ldap[0].principal-transformation.case-conversion: LOWERCASE
In my login webflow, i have a step that does this:
val authentication = WebUtils.getAuthentication(context);
String userId = authentication.getPrincipal().getId();
What gives?
-psv