In the latest CAS release, the Principal has a new property called
"attributes" which is map.  There are implementations that obtain attributes
from the JA-SIG PersonDirectory API and populate that map.  CAS 3.1 will
return those attributes via the SAML response (though you'll need to use it
in conjunction with the Services Management tool to "release" the attributes
to the client applications).

In Subversion, there should be a SAMLTicketValidator that will parse the
SAML response.  Note that its not 100% compatible with the current CAS
Server release because the protocol states that the artifact resolution
request should come over SOAP (the TicketValidator in HEAD merely sends it
as a HTTP Request parameter).  Its not a very difficult change to make
though.  I just haven't had time yet.

-Scott

On 8/1/07, Barrow Kwan <[EMAIL PROTECTED]> wrote:
>
> this question was asked back to april and Scott said :
>
> You just need to create a CredentialsToPrincipalResolver that returns
> attributes and then use the /samlValidate url instead of /serviceValidate
> (and an appropriate TicketValidator).  The CAS Client for Java 3.1-m1 has
> a
> SamlTicketValidator you can use as an example.
>
> -Scott
>
>
> I still stuck with the  Saml, did someone has a working example we can
> reference?
>
>
> thanks
>
>
>
> Barrow Kwan
> ThoughtWorks Inc
> 410 Townsend St, 4th Floor
> San Francisco, CA 94107
> USA
> (415)869-3103
>
>
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>


-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to