summaryrefslogtreecommitdiff
path: root/src/saml2/mdstore.py
diff options
context:
space:
mode:
authorRebecka Gulliksson <rebecka.gulliksson@umu.se>2016-09-06 08:10:04 +0200
committerRebecka Gulliksson <rebecka.gulliksson@umu.se>2016-09-06 08:10:04 +0200
commit53f90aaffcbbf9c1cc9c620114e9ffd88ffe46b1 (patch)
treedae1869a987d2c4e1a39415235ed1d7f040540aa /src/saml2/mdstore.py
parent529a561193f30c8289b745148f4f61efe5fc7fa6 (diff)
downloadpysaml2-53f90aaffcbbf9c1cc9c620114e9ffd88ffe46b1.tar.gz
Recognize MDQ metadata storage from config.
Diffstat (limited to 'src/saml2/mdstore.py')
-rw-r--r--src/saml2/mdstore.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/saml2/mdstore.py b/src/saml2/mdstore.py
index 28d6061b..6ad7b6fc 100644
--- a/src/saml2/mdstore.py
+++ b/src/saml2/mdstore.py
@@ -871,6 +871,9 @@ class MetadataStore(MetaData):
elif typ == "loader":
key = args[1]
_md = MetaDataLoader(self.attrc, args[1], **_args)
+ elif typ == "mdq":
+ key = args[1]
+ _md = MetaDataMDX(args[1])
else:
raise SAMLError("Unknown metadata type '%s'" % typ)
_md.load()