On Thu, May 29, 2008 at 4:47 PM, Pål Axelsson <[EMAIL PROTECTED]> 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:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *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 <[EMAIL PROTECTED]> > 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 > [email protected] > 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 > [email protected] > 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 [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
