Re: [cas-dev] Modifying the username

2012-01-25 Thread Marvin Addison
> Is there a way to modify the username provided by the user before it is sent > to the authentication mechanisms? The org.jasig.cas.authentication.handler.PrincipalNameTransformer components exists for this purpose. The only implementation we provide out of the box is whitespace trimming, so you

Re: [cas-dev] Modifying the username

2012-01-25 Thread b savage
Hi, No CAS configurable means. For editing what is entered, have you already looked into a Spring validator added to the class handling the login form to report any errors? Not recommended but also javascript on the login jsp itself might catch the bad entries. Brian On Tue, Jan 24, 2012 at 2:

[cas-dev] Modifying the username

2012-01-24 Thread Richard Frovarp
Is there a way to modify the username provided by the user before it is sent to the authentication mechanisms? I want to be able to trim it, lower case it, and most importantly strip off everything from the '@' symbol on if they provided it. We have some systems that are outside of our control