[cas-user] Re: Sanitize username

2021-01-21 Thread Rafiek M
Hi Andy, Thanks for the help! We went with a custom filter that sanitizes the username value. We might refactor it to a custom Authentication handler in the future, but a filter is seems like a pretty stable and simple solution for now. kind regards, Rafiek Op donderdag 21 januari 2021 om 03:

[cas-user] Re: Sanitize username

2021-01-20 Thread Andy Ng
Hi Rafiek, I can think of 3 methods of implementing your requirement: 1. *Using Principal Transformation:* 1. e.g. https://apereo.github.io/cas/6.2.x/configuration/Configuration-Properties-Common.html#authentication-principal-transformation for Principal transformation for datab