diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-09-06 12:39:48 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-09-06 12:39:48 +0200 |
commit | 41275a296c73a5ecb29d52829116f4b6e99ce006 (patch) | |
tree | 439a0f336aa01a4c82a2714b26511a937ffbd7d9 /id/server/modules/moa-id-module-eIDAS/src/main/java/at | |
parent | 211fd182136ba3def6b31f6acd86b91c1521d092 (diff) | |
download | moa-id-spss-41275a296c73a5ecb29d52829116f4b6e99ce006.tar.gz moa-id-spss-41275a296c73a5ecb29d52829116f4b6e99ce006.tar.bz2 moa-id-spss-41275a296c73a5ecb29d52829116f4b6e99ce006.zip |
add xsd schema for eIDAS specific SAML2 extensions
Diffstat (limited to 'id/server/modules/moa-id-module-eIDAS/src/main/java/at')
-rw-r--r-- | id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/SAMLEngineUtils.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/SAMLEngineUtils.java b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/SAMLEngineUtils.java index d469ca28c..02a5df098 100644 --- a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/SAMLEngineUtils.java +++ b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/SAMLEngineUtils.java @@ -28,6 +28,7 @@ import java.net.URL; import java.util.HashMap; import java.util.Map; +import org.opensaml.common.xml.SAMLSchemaBuilder; import org.opensaml.xml.ConfigurationException; import org.opensaml.xml.XMLConfigurator; @@ -107,6 +108,9 @@ public class SAMLEngineUtils { //overwrite eIDAS response validator suite because Condition-Valitator has not time jitter initOpenSAMLConfig("own-saml-eidasnode-config.xml"); + //add eIDAS specific SAML2 extensions to eIDAS Schema validatior + SAMLSchemaBuilder.addExtensionSchema( + at.gv.egovernment.moa.util.Constants.SAML2_eIDAS_EXTENSIONS_SCHEMA_LOCATION); eIDASEngine = engine; |