summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2015-01-26 16:04:40 -0500
committerJohn Dennis <jdennis@redhat.com>2015-08-27 08:07:26 -0400
commit665977900bda4e252e2f8895c986767e4bbba5a6 (patch)
tree718d18078b934c0c50d26f775790dbbe98596610
parentf1efb10af288c438fa034e7beb62e14b8417056f (diff)
downloadipsilon-ecp.tar.gz
ipsilon-ecp.tar.xz
ipsilon-ecp.zip
Implement ECP in Ipsilonecp
* add saml2/SSO/SOAP endpoint. * add check for lasso version, ECP endpoint only exposed in metadata if lasso has full ECP support. * add SSO_SOAP soap authentication handler (used for ECP). * add SAML binding to transaction so we can determine if cookies and other HTTP concepts are expected. Each handler is responsible for setting the binding. * add some constants needed for ECP Signed-off-by: John Dennis <jdennis@redhat.com>
-rw-r--r--ipsilon/providers/saml2/auth.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipsilon/providers/saml2/auth.py b/ipsilon/providers/saml2/auth.py
index 5412240..5ac8b08 100644
--- a/ipsilon/providers/saml2/auth.py
+++ b/ipsilon/providers/saml2/auth.py
@@ -313,11 +313,9 @@ class AuthenticateRequest(ProviderPageBase):
"submit": 'Return to application',
}
return self._template('saml2/post_response.html', **context)
-
elif login.protocolProfile == lasso.LOGIN_PROTOCOL_PROFILE_BRWS_LECP:
login.buildResponseMsg()
self.debug("Returning ECP: %s" % login.msgBody)
return login.msgBody
-
else:
raise cherrypy.HTTPError(500)