Révision 009e7c0e
Ajouté par Jérôme Schneider il y a plus de 9 ans
mandaye/auth/saml2.py | ||
---|---|---|
28 | 28 |
* saml2_authnresp_binding: only post is supported for now |
29 | 29 |
* saml2_authnreq_http_method: only http_redirect at the moment |
30 | 30 |
* saml2_name_identifier_format: only persistent at the moment |
31 |
* metadata_url: saml end point of the metadata |
|
32 |
* single_sign_on_post_url: saml end point of single sign on post |
|
33 |
* single_logout_url: saml end point of logout |
|
34 |
* single_logout_return_url: saml end point of the single logout return |
|
31 |
* saml2_metadata_url: saml end point of the metadata
|
|
32 |
* saml2_single_sign_on_post_url: saml end point of single sign on post
|
|
33 |
* saml2_single_logout_url: saml end point of logout
|
|
34 |
* saml2_single_logout_return_url: saml end point of the single logout return
|
|
35 | 35 |
""" |
36 | 36 |
|
37 | 37 |
# XXX: remove this for the 1.0. Keep it only for compability reasons. |
... | ... | |
53 | 53 |
""" |
54 | 54 |
self.env = env |
55 | 55 |
self.END_POINTS_PATH = { |
56 |
'metadata': self.env['mandaye.config'].get('metadata_url', '/mandaye/metadata'), |
|
57 |
'single_sign_on_post': self.env['mandaye.config'].get('single_sign_on_post_url', '/mandaye/singleSignOnPost'), |
|
58 |
'single_logout': self.env['mandaye.config'].get('single_logout_url', '/mandaye/singleLogout'), |
|
59 |
'single_logout_return': self.env['mandaye.config'].get('single_logout_return_url', '/mandaye/singleLogoutReturn'), |
|
56 |
'metadata': self.env['mandaye.config']. |
|
57 |
get('saml2_metadata_url', '/mandaye/metadata'), |
|
58 |
'single_sign_on_post': self.env['mandaye.config'].\ |
|
59 |
get('saml2_single_sign_on_post_url', '/mandaye/singleSignOnPost'), |
|
60 |
'single_logout': self.env['mandaye.config'].\ |
|
61 |
get('saml2_single_logout_url', '/mandaye/singleLogout'), |
|
62 |
'single_logout_return': self.env['mandaye.config'].\ |
|
63 |
get('saml2_single_logout_return_url', '/mandaye/singleLogoutReturn'), |
|
60 | 64 |
} |
61 | 65 |
for param in ('saml2_idp_metadata', |
62 | 66 |
'saml2_signature_public_key', |
Formats disponibles : Unified diff
saml2: prefix new configuration arguments with saml2