cas.authn.ldap[0].principal-transformation.case-conversion

18 views
Skip to first unread message

Pablo Vidaurri

unread,
Oct 31, 2023, 11:03:39 PM10/31/23
to CAS Community
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

Ldap has uid attribute = Mixed...@example.com

In my login webflow, i have a step that does this:
val authentication = WebUtils.getAuthentication(context);
String userId = authentication.getPrincipal().getId();

value of userId is set to Mixed...@example.com without lowercasing it.

What gives?
-psv



Reply all
Reply to author
Forward
0 new messages