Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for inclusive namespaces #68

Merged
merged 2 commits into from
Jun 24, 2016

Conversation

johnhuangclever
Copy link
Contributor

applies all inclusive namespaces for signature assertions onto assertion tag
used as recommended workaround for xml-crypto library limitation with inclusive namespaces see
node-saml/xml-crypto#48 (comment)

applies all inclusive namespaces for signature assertions onto assertion tag
used as recommended workaround for xml-crypto library limitation with inclusive namespaces see
node-saml/xml-crypto#48 (comment)
add_namespaces_to_child_assertions = (xml_string) ->
doc = new xmldom.DOMParser().parseFromString xml_string

response_elements = doc.getElementsByTagNameNS "urn:oasis:names:tc:SAML:2.0:protocol", "Response"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use the constant XMLNS.SAMLP

@johnhuangclever johnhuangclever force-pushed the inclusive-namespaces-workaround branch 2 times, most recently from ea2394e to bc8c657 Compare June 24, 2016 01:34
@jefff
Copy link
Contributor

jefff commented Jun 24, 2016

lgtm.

@jefff jefff closed this Jun 24, 2016
@jefff jefff reopened this Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants