Superpatterns

Pat Patterson on Identity Management, Federation and Single Malt Scotch
         

accessmanager adfs authentication authorization bloggers blogwatch burtongroup cardspace catalyst donbowen extensions fam federation federationmanager fisl identity idwsf infocard java javapolis libertyalliance lightbulb links microsoft opends openid opensource opensso php planetidentity podcast roller saml sdn sso sun tokyo ubuntu video webservices wsfederation
 
Switching on the Lightbulb
[ ]

Over the past few months I've had a side project - implementing a SAML 2.0 service provider (SP) in PHP. I originally set out using PHP/Java Bridge and got something working (I even presented it [pdf] at Identity Open Space in Vancouver), but I was inspired by Kim Cameron's success in implementing InfoCard in PHP to try a more direct approach.

Rob Richard's XML Security implementation provided the impetus I needed to get a 'pure' PHP SAML 2.0 SP working. Rob kindly allowed me to adopt the XML Security code into OpenSSO (note that the base XML security code is still, and will continue to be, available, in its original public domain form, at Rob's page) and I set forth hacking away.

Well - I'm done with an initial version. SAML 2.0 POST profile works. There is no artifact profile, no single log out, no bells or whistles. It does verify the assertion signature (via PHP's integration with openssl) and checks that the certificate fingerprint matches what it expects from that identity provider.

There is some general documentation on SAML-enabling PHP [odt], and some specific documentation on this code [odt]. I'll write a step-by-step guide to getting it up and running next...

UPDATE - some FAQs here.

@ 05:03 PM PDT Comments [2]
 
 
 
Trackback URL: http://blogs.sun.com/superpat/entry/switching_on_the_lightbulb
Comments:

[Trackback] 今朝方 java.net から来てた CVS Digest メールがやけにサイズ大きいなーと思ったら, ついに OpenSSO へアイデンティティ・フェデレーションのコードがチェックインされたようだ. https://opensso.dev.java.net/source/browse/opensso/products/federation/ https://ope...

Posted by tkudo's weblog on October 31, 2006 at 07:49 AM PST #

[Trackback] So Pat Patterson has pulled a nice rabbit outta his hat and concocted a SAMLv2 Relying Party Implementation in PHP! I’m going to have to play with this one… Switching on the Lightbulb Q&A on the OpenSSO SAML 2.0 PHP work No Tags...

Posted by IdentityMeme.org on November 01, 2006 at 08:30 AM PST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed
 
    Identity Management Buzz Podcast
    Stay connected to news, show notes and leave your feedback.
visits since 9/21/2005
    Listening To
    Listen to Radio Pat
    www.flickr.com
    superpat7's photos More of superpat7's photos
    Technorati
Valid XHTML or CSS?
[This is a Roller site]
Original theme by Rowell Sotto. Heavily modified by Pat Patterson.