How to return more than username after authentication?
Scott Battaglia
scott.battaglia at gmail.com
Sat Feb 3 11:17:08 EST 2007
CAS 3.0.x only supports this by customizing the returned response and the
client libraries. So yes, it is possible, but it requires a little effort.
You would need a custom CredentialsToPrincipalResolver to associate your
attributes with the principal and then to customize the jsp that contains
the CAS 2.0 protocol response.
CAS 3.1 will support this natively via SAML.
-Scott
On 2/2/07, t ray <t_ray9505 at yahoo.com> wrote:
>
> Hello,
> Is it possible (and advisable) to return than just the username after
> successful login? I would like to be able to return a small amount of user
> data apart from the name such that this extra information is also available
> along with the user name.
>
> Thanks,
>
> Ray.
>
> ------------------------------
> Now that's room service! Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel<http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0A>to find your fit.
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070203/1c75efbb/attachment.html
More information about the cas
mailing list