On 09/01/2015 01:34 PM, Misagh Moayyed wrote:
>> 1) To authenticate a user, I need to change the username / password data
>> > I received from the login page a little (i.e. add some "@realm" to the
>> > user or convert the password to some proprietary syntax the backend
>> > uses) before sending it to let's say an ODBC or LDAP backend. What seems
>> > to be the best approach to achieve this? Do I really need to write a new
>> > class (org.jasig.cas.adaptors) or is there another way to change the
>> > credentials before sending them to the backend?
> Yes these are called Transformers, unrelated to any particular super hero 
> mythology that allow you to change the userid:
> http://jasig.github.io/cas/development/installation/Configuring-Authentication-Components.html#principalnametransformer-components
>  
> 
> Most handlers also have a password encoder property that you can define. 

Works splendidly, thanks a lot for the quick hint on where to look.



Regards

Christian

-- 
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