[cas-dev] CASA Authentication: Extracting extra info in session

Smita Vithal Kharkar Smita_Kharkar at infosys.com
Thu Jun 19 23:33:15 EDT 2008


Hi Scott,



Thanks for your reply.

When CAS does authentication, it stores "edu.yale.its.tp.cas.client.filter.receipt" attribute in the session.

This is a edu.yale.its.tp.cas.client.CASReceipt object, calling getUserName() on this object returns the logon name of the
currently logged in user.

I need additional attribute to be retrieved and stored in the session with the logon name.
As this attribute is present in the same DB table in which LogonName and Password are stored, I think it should be possible to modify the CAS source code and achieve this.

FYI, the additional attributes are 'logon_name_appli1' and 'logon_name_appli2'.
Basically we are doing CCOW POC using CAS as SSO tool.
Here the two applications have different logon names for the same user, in order to simulate the login action I need to use application specific logon names stored in the DB table.

Please let me know if this clarifies my question.

Thanks & Regards,
Smita





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20080620/81da1f4c/attachment-0001.html 


More information about the cas-dev mailing list