add role to CAS

Scott Battaglia scott.battaglia at gmail.com
Wed Sep 27 10:26:47 EDT 2006


If you use CAS to retrieve and send back user roles, you would have to
modify CAS clients to be able to retrieve the extra attributtese.  If you're
applications are using Acegi I would recommend you use Acegi to retrieve the
role information.

-Scott

On 9/27/06, Luca Scotto <lucascotto at gmail.com> wrote:
>
> Hi all,
> today my Cas protects  all "web-apps" by login and passwd over an
> OpenLdap server.
> Now i want to match an "user-role" for every web-apps.
> Example
>
> LDAP
> UserID - Passwd - Role
> Smith   -   smith99   -   simpleuser
> Jhon   -   jhon89   -    simpleuser
> Scott   -   scott987 -   administrator;simpleuser
>
> Tomcat Apps
> /cassified/adminApps/  access only for administrator
> /cassified/mainApps/   access only for simpleuser
>
>
>
> there where many way to do this (.inside CAS, inside webapps..).
> What's easy? What's flexible?
> Can i use CAS to extract role attribute and put this over
> session.attribute/cookie/other?
>
> Thanks
> _______________________________________________
> 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/20060927/3cb872b6/attachment.html


More information about the cas mailing list