)]}'
{"keystoneclient_federation/v3/saml2.py":[{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"2fc9b8c85a12d7eef8eb75c7c7f05aab273a1ed6","unresolved":false,"context_lines":[{"line_number":504,"context_line":"                headers\u003dself.ECP_SP_SAML2_REQUEST_HEADERS)"},{"line_number":505,"context_line":"        self.authenticated_response \u003d response"},{"line_number":506,"context_line":""},{"line_number":507,"context_line":"    def _get_ecp(self):"},{"line_number":508,"context_line":"        \"\"\"Put the saml assertion in an envelope\"\"\""},{"line_number":509,"context_line":"        SOAP_NAMESPACES \u003d {"},{"line_number":510,"context_line":"            \u0027soap11\u0027: \u0027http://schemas.xmlsoap.org/soap/envelope/\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da9b358b_3fb01edd","line":507,"updated":"2015-03-30 15:15:01.000000000","message":"this can be now fully substituted by \"create_ecp_assertion()\" method","commit_id":"2c9d387353c2271e7c781e7df2e93ea0fc3f8418"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":440,"context_line":"    the token or from the HTTP headers in the response with the"},{"line_number":441,"context_line":"    samlized token."},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"    :param auth_url: URL of the Identity Service"},{"line_number":444,"context_line":"    :type auth_url: string"},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"    :param sp_url: url where the ECP wrapped SAML assertion will be presented"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_c097fc8e","line":443,"updated":"2015-04-07 19:19:11.000000000","message":"this isn\u0027t used","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":440,"context_line":"    the token or from the HTTP headers in the response with the"},{"line_number":441,"context_line":"    samlized token."},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"    :param auth_url: URL of the Identity Service"},{"line_number":444,"context_line":"    :type auth_url: string"},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"    :param sp_url: url where the ECP wrapped SAML assertion will be presented"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_9194a4e2","line":443,"in_reply_to":"9aa53dc9_c097fc8e","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":443,"context_line":"    :param auth_url: URL of the Identity Service"},{"line_number":444,"context_line":"    :type auth_url: string"},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"    :param sp_url: url where the ECP wrapped SAML assertion will be presented"},{"line_number":447,"context_line":"                   to the SP (remote) Keystone"},{"line_number":448,"context_line":"    :type sp_url: string"},{"line_number":449,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_e044401c","line":446,"updated":"2015-04-07 19:19:11.000000000","message":"URL*","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":443,"context_line":"    :param auth_url: URL of the Identity Service"},{"line_number":444,"context_line":"    :type auth_url: string"},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"    :param sp_url: url where the ECP wrapped SAML assertion will be presented"},{"line_number":447,"context_line":"                   to the SP (remote) Keystone"},{"line_number":448,"context_line":"    :type sp_url: string"},{"line_number":449,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_d18a2cbf","line":446,"in_reply_to":"9aa53dc9_e044401c","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":447,"context_line":"                   to the SP (remote) Keystone"},{"line_number":448,"context_line":"    :type sp_url: string"},{"line_number":449,"context_line":""},{"line_number":450,"context_line":"    :param sp_auth_url: auth URL of the SP (remote) Keystone"},{"line_number":451,"context_line":"    :type sp_auth_url: string"},{"line_number":452,"context_line":""},{"line_number":453,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_40388ca0","line":450,"updated":"2015-04-07 19:19:11.000000000","message":"Auth*","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":447,"context_line":"                   to the SP (remote) Keystone"},{"line_number":448,"context_line":"    :type sp_url: string"},{"line_number":449,"context_line":""},{"line_number":450,"context_line":"    :param sp_auth_url: auth URL of the SP (remote) Keystone"},{"line_number":451,"context_line":"    :type sp_auth_url: string"},{"line_number":452,"context_line":""},{"line_number":453,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_f1a2d04a","line":450,"in_reply_to":"9aa53dc9_40388ca0","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":453,"context_line":""},{"line_number":454,"context_line":"    :param ecp_assertion: An ECP wrapped SAML assertion obtained from a"},{"line_number":455,"context_line":"                          keystone IdP by calling"},{"line_number":456,"context_line":"                          client.federation.saml.create_ecp_assertion"},{"line_number":457,"context_line":"    :type ecp_assertion: string"},{"line_number":458,"context_line":""},{"line_number":459,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_206228ae","line":456,"updated":"2015-04-07 19:19:11.000000000","message":"by calling /auth/OS-FEDERATION/saml2/ecp","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":453,"context_line":""},{"line_number":454,"context_line":"    :param ecp_assertion: An ECP wrapped SAML assertion obtained from a"},{"line_number":455,"context_line":"                          keystone IdP by calling"},{"line_number":456,"context_line":"                          client.federation.saml.create_ecp_assertion"},{"line_number":457,"context_line":"    :type ecp_assertion: string"},{"line_number":458,"context_line":""},{"line_number":459,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_11a09442","line":456,"in_reply_to":"9aa53dc9_206228ae","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":460,"context_line":""},{"line_number":461,"context_line":"    _auth_method_class \u003d Saml2UnscopedTokenAuthMethod"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"    ECP_SP_SAML2_REQUEST_HEADERS \u003d {"},{"line_number":464,"context_line":"        \u0027Content-Type\u0027: \u0027application/vnd.paos+xml\u0027"},{"line_number":465,"context_line":"    }"},{"line_number":466,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_eb01c16b","line":463,"updated":"2015-04-07 19:19:11.000000000","message":"add a TODO here to make this common","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":460,"context_line":""},{"line_number":461,"context_line":"    _auth_method_class \u003d Saml2UnscopedTokenAuthMethod"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"    ECP_SP_SAML2_REQUEST_HEADERS \u003d {"},{"line_number":464,"context_line":"        \u0027Content-Type\u0027: \u0027application/vnd.paos+xml\u0027"},{"line_number":465,"context_line":"    }"},{"line_number":466,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_f17090de","line":463,"in_reply_to":"9aa53dc9_eb01c16b","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":465,"context_line":"    }"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"    def __init__(self, auth_url, sp_url, sp_auth_url, ecp_assertion, **kwargs):"},{"line_number":468,"context_line":"        super(Saml2KeystoneUnscoped, self).__init__(auth_url\u003dauth_url,"},{"line_number":469,"context_line":"                                                    **kwargs)"},{"line_number":470,"context_line":"        self.sp_url \u003d sp_url"},{"line_number":471,"context_line":"        self.sp_auth_url \u003d sp_auth_url"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_801b341b","line":468,"updated":"2015-04-07 19:19:11.000000000","message":"i\u0027m not seeing where auth_url comes into play","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":465,"context_line":"    }"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"    def __init__(self, auth_url, sp_url, sp_auth_url, ecp_assertion, **kwargs):"},{"line_number":468,"context_line":"        super(Saml2KeystoneUnscoped, self).__init__(auth_url\u003dauth_url,"},{"line_number":469,"context_line":"                                                    **kwargs)"},{"line_number":470,"context_line":"        self.sp_url \u003d sp_url"},{"line_number":471,"context_line":"        self.sp_auth_url \u003d sp_auth_url"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_314ef896","line":468,"in_reply_to":"9aa53dc9_801b341b","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":474,"context_line":"    def _send_service_provider_ecp_authn_response(self, session):"},{"line_number":475,"context_line":"        \"\"\"Present ECP SAML2 assertion to the Service Provider."},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"        The assertion is issued by a trusted Identity Provider for the"},{"line_number":478,"context_line":"        authenticated user. This function directs the HTTP request to SP"},{"line_number":479,"context_line":"        managed URL, for instance: ``https://\u003chost\u003e:\u003cport\u003e/Shibboleth.sso/"},{"line_number":480,"context_line":"        SAML2/ECP``."}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_6b1c91c1","line":477,"updated":"2015-04-07 19:19:11.000000000","message":"i\u0027d rather just reference \u0027_send_service_provider_saml2_authn_response\u0027 than copy and paste the docstring. that just means we have to maintain two versions","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":474,"context_line":"    def _send_service_provider_ecp_authn_response(self, session):"},{"line_number":475,"context_line":"        \"\"\"Present ECP SAML2 assertion to the Service Provider."},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"        The assertion is issued by a trusted Identity Provider for the"},{"line_number":478,"context_line":"        authenticated user. This function directs the HTTP request to SP"},{"line_number":479,"context_line":"        managed URL, for instance: ``https://\u003chost\u003e:\u003cport\u003e/Shibboleth.sso/"},{"line_number":480,"context_line":"        SAML2/ECP``."}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_0cb51bed","line":477,"in_reply_to":"9aa53dc9_6b1c91c1","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":509,"context_line":"    def _get_unscoped_token(self, session):"},{"line_number":510,"context_line":"        \"\"\"Get unscoped OpenStack token after federated authentication."},{"line_number":511,"context_line":""},{"line_number":512,"context_line":"          Unscoped token example::"},{"line_number":513,"context_line":""},{"line_number":514,"context_line":"            {"},{"line_number":515,"context_line":"                \"token\": {"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_4b90ad43","line":512,"updated":"2015-04-07 19:19:11.000000000","message":"don\u0027t have to re-write this, just reference Saml2UnscopedToken._get_unscoped_token","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":509,"context_line":"    def _get_unscoped_token(self, session):"},{"line_number":510,"context_line":"        \"\"\"Get unscoped OpenStack token after federated authentication."},{"line_number":511,"context_line":""},{"line_number":512,"context_line":"          Unscoped token example::"},{"line_number":513,"context_line":""},{"line_number":514,"context_line":"            {"},{"line_number":515,"context_line":"                \"token\": {"}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_8c048bc0","line":512,"in_reply_to":"9aa53dc9_4b90ad43","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"c8fee8d755fd03ea548fbd49178def43d9cce507","unresolved":false,"context_lines":[{"line_number":543,"context_line":"                self.authenticated_response.json()[\u0027token\u0027])"},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"    def get_auth_ref(self, session, **kwargs):"},{"line_number":546,"context_line":"        \"\"\"Authenticate via SAML2 protocol and retrieve unscoped token."},{"line_number":547,"context_line":""},{"line_number":548,"context_line":"        This is a multi-step process where a client presents a saml assertion"},{"line_number":549,"context_line":"        and receives an unscoped token."}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_00b72487","line":546,"updated":"2015-04-07 19:19:11.000000000","message":"this is the same same the other docstring - maybe mention ECP somewhere here","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"5aba815fdb93e380cddc8201671153fb91f213af","unresolved":false,"context_lines":[{"line_number":543,"context_line":"                self.authenticated_response.json()[\u0027token\u0027])"},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"    def get_auth_ref(self, session, **kwargs):"},{"line_number":546,"context_line":"        \"\"\"Authenticate via SAML2 protocol and retrieve unscoped token."},{"line_number":547,"context_line":""},{"line_number":548,"context_line":"        This is a multi-step process where a client presents a saml assertion"},{"line_number":549,"context_line":"        and receives an unscoped token."}],"source_content_type":"text/x-python","patch_set":5,"id":"9aa53dc9_2c30df9d","line":546,"in_reply_to":"9aa53dc9_00b72487","updated":"2015-04-07 20:37:55.000000000","message":"Done","commit_id":"28c3f584592a52fc1bff1006d2ec0bf164816e57"}]}
