...
If your application is not written in PHP, you should use Shibboleth. Shibboleth extends your web server (Apache HTTPd or Microsoft IIS) with SAML functionality and leverages existing httpd server functionality to share SAML authentication information with a web application. More information:
- Shibboleth wiki
- mailing lists
- configuring Shibboleth for SURFconext
- integrating Shibboleth in your Java application
...