|
1 |
| -#!/usr/bin/env python |
2 |
| -from saml2.sigver import _get_xmlsec_cryptobackend, SecurityContext |
| 1 | + #!/usr/bin/env python |
| 2 | +from saml2.sigver import _get_xmlsec_cryptobackend |
| 3 | +from saml2.sigver import SecurityContext |
3 | 4 | from saml2.httpbase import HTTPBase
|
4 | 5 |
|
5 | 6 | from saml2 import saml
|
6 | 7 | from saml2 import md
|
7 | 8 | from saml2.attribute_converter import ac_factory
|
8 |
| -from saml2.extension import dri |
9 |
| -from saml2.extension import idpdisc |
10 |
| -from saml2.extension import mdattr |
11 |
| -from saml2.extension import mdrpi |
12 |
| -from saml2.extension import mdui |
13 |
| -from saml2.extension import shibmd |
14 |
| -from saml2.extension import ui |
15 | 9 | from saml2 import xmldsig
|
16 | 10 | from saml2 import xmlenc
|
17 | 11 |
|
18 | 12 | import argparse
|
19 | 13 |
|
20 |
| -from saml2.mdstore import MetaDataFile, MetaDataExtern |
| 14 | +from saml2.mdstore import MetaDataFile, MetaDataExtern, load_extensions |
21 | 15 |
|
22 | 16 | __author__ = 'rolandh'
|
23 | 17 |
|
|
29 | 23 |
|
30 | 24 | ONTS = {
|
31 | 25 | saml.NAMESPACE: saml,
|
32 |
| - mdui.NAMESPACE: mdui, |
33 |
| - mdattr.NAMESPACE: mdattr, |
34 |
| - mdrpi.NAMESPACE: mdrpi, |
35 |
| - dri.NAMESPACE: dri, |
36 |
| - ui.NAMESPACE: ui, |
37 |
| - idpdisc.NAMESPACE: idpdisc, |
38 | 26 | md.NAMESPACE: md,
|
39 | 27 | xmldsig.NAMESPACE: xmldsig,
|
40 | 28 | xmlenc.NAMESPACE: xmlenc,
|
41 |
| - shibmd.NAMESPACE: shibmd |
42 | 29 | }
|
43 | 30 |
|
| 31 | +ONTS.update(load_extensions()) |
44 | 32 |
|
45 | 33 | parser = argparse.ArgumentParser()
|
46 | 34 | parser.add_argument('-t', dest='type')
|
|
0 commit comments