principle conversion

14 views
Skip to first unread message

Pablo Vidaurri

unread,
Mar 15, 2023, 11:25:47 PM3/15/23
to CAS Community
Running CAS 6.3.4 and LDAP for authentication.

I see some users have a mix of upper/lower case chars for the uid in LDAP.

I have the following cas props:
cas.authn.ldap[0].principalAttributeId=uid
cas.authn.ldap[0].principalTransformation.caseConversion=LOWERCASE

But principle on my cas login webflow is still showing mixed case: 
principle = authentication.getPrincipal()  //Jane....@PurplePaint.com

I do have correct JAR:
org.apereo.cas:cas-server-core-api-configuration-model:6.3.7.4

What am I missing?
-psv

Pablo Vidaurri

unread,
Mar 16, 2023, 1:50:30 AM3/16/23
to CAS Community, Pablo Vidaurri
Not sure where I got 
cas.authn.ldap[0].principalAttributeId

but I've updated to 
cas.authn.ldap[0].principalAttribute

and transformation is working.
Reply all
Reply to author
Forward
0 new messages