Adding some SAML SSO code (temporarily) ported from CXF