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

AttributeConsumingService support. #117

Merged
merged 11 commits into from
Apr 5, 2016
Merged

Conversation

jimmyislive
Copy link
Contributor

No description provided.

Jimmy John and others added 7 commits February 12, 2016 17:05
First pass at adding AttributeConsumingService support in the AuthnRequest.
Feature/requested attrib support, feature branch -> master branch
@@ -119,7 +182,7 @@ def builder(sp, authnsign=False, wsign=False, valid_until=None, cache_duration=N
str_contacts = '\n'.join(contacts_info)

metadata = """<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add xmlns:saml namespace here only if attribute_consuming_service defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, i'll add that in.

Jimmy John added 4 commits February 16, 2016 11:49
Everything passes on my ubuntu vm, but for some strange reason it fails on circle-ci, oh wel...
@jimmyislive
Copy link
Contributor Author

@pitbulk please review

added new unti tests - circle-ci now passes

@jimmyislive
Copy link
Contributor Author

ping @pitbulk

any further comments on this?

@pitbulk
Copy link
Contributor

pitbulk commented Feb 23, 2016

Hi @jimmyislive

I had no time to review it. It will take some time, right now focus on other tasks sorry.

@pitbulk pitbulk merged commit 51aa235 into SAML-Toolkits:master Apr 5, 2016
@pitbulk
Copy link
Contributor

pitbulk commented Apr 5, 2016

At python3-saml we following a XML template strategy, but here we build the XML by concat strings.
I know is "more dirty" but is how currently is implemented

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.

None yet

2 participants