saml2: add connection_url in the default mapper

Closes #5992
This commit is contained in:
Jérôme Schneider 2014-11-21 15:03:20 +01:00
parent dd87d66f08
commit f4d3ef7650
1 changed files with 5 additions and 0 deletions

View File

@ -113,6 +113,11 @@ class SAML2Auth(AuthForm):
def get_default_mapping(self):
default_mapping = super(SAML2Auth, self).get_default_mapping()
default_mapping.extend([
{
'path': r'%s$' % self.urls.get('connection_url', '/mandaye/sso'),
'method': 'GET',
'response': {'filter': self.sso,}
},
{
'path': r'%s$' % self.END_POINTS_PATH['metadata'],
'method': 'GET',