Using Shibboleth SP with a Java Servlet (demo app)

Philip Durbin philip_durbin at harvard.edu
Thu Nov 7 14:39:12 EST 2013


Early on I was pointed to
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPJavaInstall
(by Peter Schober) and it was extremely helpful in configuring
Shibbloeth, AJP, Apache httpd, and my Java Servlet container.

To make it all a little more concrete (i.e. deployed to CentOS 6) I
just pushed a little example application to
https://github.com/dvn/shibpoc/tree/master/java/shibsppoc

All it does is print some attributes from the IdP at http://testshib.org

I thought someone might stumble upon this code some day and find it
useful to have this example to get started.

If there's a small demo app like this out there already, please let me
know and I'll add it to the readme. Naturally, I already link back to
the wiki page above.

Thanks,

Phil

p.s. I'm using Glassfish but it should work fine on Tomcat, JBoss, etc.

-- 
Philip Durbin
Software Developer for http://thedata.org
http://www.iq.harvard.edu/people/philip-durbin


More information about the users mailing list