Hey Misagh, again thank you very much for being to active and helpful on the ML. I really appreciate that and I hope I am able to give back in code or assistance to others myself.
On 01/11/2016 03:33 PM, Misagh Moayyed wrote: > CAS has a concept for principal name transformation which manifests itself > in form of a "PrincipalNameTransformer" component. There are a few options > shipped by default, but your case would have to be a custom one. This works > without the need for a custom handler, but if you have already got one, you > could just as well do it there and leave the transformers alone. Understood. The Transformers I understand and they likely are suitable to convert the received username to anything. But how would I apply some restrictions? i.e. some user gave me an obviously invalid string which I don't even what to look at, and simply reject it. My idea would be a regex defining what can actually be a valid username in the first place. > If you do end up creating a transformer, feel free to submit a patch. I sure will do so if I end up creating a new Transforming doing some string magic. Regards Christian -- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
