Add test for per-SP allowed and mapping attributes
authorRob Crittenden <rcritten@redhat.com>
Thu, 9 Apr 2015 19:11:39 +0000 (15:11 -0400)
committerSimo Sorce <simo@redhat.com>
Fri, 10 Apr 2015 14:41:22 +0000 (10:41 -0400)
commit1055b7bc810139d1e6ee3c225bcfba7b88e7aeab
treefd846f8573ad95807d8ff0874ffe57c47012a12c
parentcd0a566562d0279d13c3df08366bc38acf53011a
Add test for per-SP allowed and mapping attributes

This buidls up a specific global mapping and allowed attributes then
creates an SP-specific configuration which differs enough to confirm
that it is in fact overriding the default. It finishes by removing the
per-SP configuration and ensuring that it falls back to the IdP-default.

https://fedorahosted.org/ipsilon/ticket/25

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Makefile
ipsilon/providers/saml2/auth.py
tests/helpers/http.py
tests/testmapping.py [new file with mode: 0755]