diff options
author | Scott Koranda <skoranda@gmail.com> | 2019-05-07 06:53:22 -0500 |
---|---|---|
committer | Scott Koranda <skoranda@gmail.com> | 2019-05-07 06:53:22 -0500 |
commit | 3f1ce6bf9605f13a203d9fa52a2b94026adfedf9 (patch) | |
tree | 92be923ee0fe6f2682584a8d058d30c5b9559de5 /tests/myentitycategory.py | |
parent | d3aa78eeb7d37c12688f783cb4db1c7263a14ad6 (diff) | |
download | pysaml2-3f1ce6bf9605f13a203d9fa52a2b94026adfedf9.tar.gz |
Enable entity category import from module search path
This enhancement causes an entity category import to first be tried from
the general module search path, and if that fails then to fall back to
the current default of importing saml2.entity_category.<module>. This
allows deployers to overlay their own customized versions of entity
category modules like edugain.py that contain CoCo. This is helpful
since the list of attributes to be included as part of the entity
category may not be globally the same for all deployments. Such is the
case with CoCo where the list of attributes changes from federation to
federation and deployment to deployment.
Diffstat (limited to 'tests/myentitycategory.py')
0 files changed, 0 insertions, 0 deletions