Just out of curiosity, what do you have being defined as your "principalAttributeName" defined as? We are using sAMAccountName and I don't think I have seen that as an issue. If I recall ... I did that so that no matter what a person typed lower or upper, I got back what the account should be otherwise I was having to uppercase the userid to match what was in PS before making use of it.
-John From: Ted Fisher [mailto:tffi...@bgsu.edu] Sent: Wednesday, November 13, 2013 9:18 AM To: cas-user@lists.jasig.org Subject: [cas-user] trimming user name We have been running CAS 3.5.0 for about a year now with LDAP as our credentials source. Things are working very well for the most part. One problem is that if a user has a space preceding their user name our LDAP accepts that and passes credentials. This doesn't affect our Liferay portal, but when users hit anything in our Peoplesoft arena the CAS auth for that fails because of the space before the name (a space after the name is no problem). So, we'd simply like to trim the user name before hitting the LDAP for credentials check. But, I'm not sure what is the best (and simplest) way to do that. I found CAS issue CAS-1260 which indicates that we could use Spring to accomplish this "via a specific Property Editor". But, not being well versed in Java and even less with Spring I'm not clear on how exactly to accomplish what seems to be something that should be simple. Any suggestions or pointers would be greatly appreciated. Thanks. Ted F. Fisher Information Technology Services Bowling Green State University [Description: BGSU] -- You are currently subscribed to cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: jour...@depaul.edu<mailto:jour...@depaul.edu> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
<<inline: image001.gif>>