Interesting. This would imply that your underlying AuthenticationHandler is 
allowing users to login with a trailing space then correct? Are you using some 
kind of Custom Authentication Handler? I just verified and my CAS server does 
not let users login with a trailing space. I'm using the Bind LDAP 
Authentication Handler pointing against an AD.


-----Original Message-----
From: Robert Oschwald [mailto:[email protected]] 
Sent: Thursday, January 03, 2013 9:57 AM
To: [email protected]
Subject: [cas-user] username trim problem

Today I noticed a problem in one of our CAS client applications.
If a user enters the username with a trailing space, the CAS client application 
fails, as the trailing space doesn't seem to be trimmed by the cas server.

CAS Server: 3.4.11
Client uses cas-client-core 3.1.3 and the trailing space gets passed to the 
client application (this client uses xml validation response).
Client gets the user by request.getRemoteUser().

Is this a feature or a bug?


Robert
--
You are currently subscribed to [email protected] as: 
[email protected] To unsubscribe, change settings or access archives, 
see http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to