HURTEVENT VINCENT
unread,Nov 2, 2016, 6:43:19 AM11/2/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
Hello,
We upgraded our CAS server from 3.5.2 to 4.2.6 and we observe a difference in the way the principal username is returned to CASsified app.
Before, I think that CAS returned the username as it was typed in the login form by the user. But now, CAS returns the username (SAMAccountName in our case) as it has been created in our directory.
For some reasons, our SAMAccountName are mixed cased, and the applications which don’t force the case on the username they get from CAS, don’t do the matching between the username and their user table.
Is there a way to lower case the username as it will be sent to applications ?
I’ve found PrincipalNameTransformer but it’s between the username typed in the form and the authenticationHandler.
GroovyPersonAttributeDao could be a way to this ? Have you got some documentation about it ?
Thank you