Questions about attribute relase by CAS
Scott Battaglia
scott.battaglia at gmail.com
Wed Jun 4 10:13:05 EDT 2008
On Thu, May 29, 2008 at 4:47 PM, Pål Axelsson <Pal.Axelsson at its.uu.se>
wrote:
> Hi again,
>
>
>
> The server part I think I understand after reading the pages you pointed me
> to. But how do I access attributes in a arbitrary web application that uses
> CAS, via a client or directly by a application with CAS code.
>
The SAML validator should be able to parse them automatically and add them
to the attributes map attached in the principal in CAS. You would either
need to access the Assertion directly or cast the Principal returned from
getPrincipal on the request object.
If you're using the CAS2 protocol (modified) you'll need to manually parse
the response. In CAS 3.1.3-rc2 we've added a basic/brute-forced/ugly method
to handle it (mostly its just a poor example of a method you can override to
return the attributes to be added to the principal).
-Scott
>
>
> Pål Axelsson
>
>
>
>
>
> *Från:* cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] *För
> *Scott Battaglia
> *Skickat:* den 29 maj 2008 17:58
> *Till:* Yale CAS mailing list
> *Ämne:* Re: Questions about attribute relase by CAS
>
>
>
> We do have some basic documentation here:
>
> http://www.ja-sig.org/wiki/display/CASUM/Services+Management
>
> -Scott
>
> On Thu, May 29, 2008 at 9:45 AM, Pål Axelsson <Pal.Axelsson at its.uu.se>
> wrote:
>
> Hi,
>
>
>
> I'm thinking about using CAS with the new attribute release function in CAS
> 3. I've problems in finding a good and simple documentation for it.
>
>
>
> Can anyone point out where the documentation is?
>
>
>
> Pål Axelsson
>
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
>
> --
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080604/fc0ecb26/attachment.html
More information about the cas
mailing list