aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-module-eIDAS/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-23 15:16:19 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-23 15:16:19 +0100
commitdb813d7524890a60bbd13f60c9c448dc1ef6cfd6 (patch)
treea6ca0298c64970343c7841347c30a97d611136df /id/server/modules/moa-id-module-eIDAS/src/main/java
parentb107abdc2655e62c5d11219f2b90a8e0a85bda91 (diff)
downloadmoa-id-spss-db813d7524890a60bbd13f60c9c448dc1ef6cfd6.tar.gz
moa-id-spss-db813d7524890a60bbd13f60c9c448dc1ef6cfd6.tar.bz2
moa-id-spss-db813d7524890a60bbd13f60c9c448dc1ef6cfd6.zip
add additional parameters to ELGA mandate-service client implementation
Diffstat (limited to 'id/server/modules/moa-id-module-eIDAS/src/main/java')
-rw-r--r--id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EidasMetaDataRequest.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EidasMetaDataRequest.java b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EidasMetaDataRequest.java
index 55f4f44d4..557b83487 100644
--- a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EidasMetaDataRequest.java
+++ b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EidasMetaDataRequest.java
@@ -104,13 +104,14 @@ public class EidasMetaDataRequest implements IAction {
generator.setConfigParams(mcp);
generator.initialize(engine);
mcp.setEntityID(metadata_url);
-
- generator.addSPRole();
+
String returnUrl = sp_return_url;
mcp.setAssertionConsumerUrl(returnUrl);
-
- generator.addIDPRole();
mcp.setAssuranceLevel("http://eidas.europa.eu/LoA/substantial"); // TODO make configurable
+
+ generator.addSPRole();
+ generator.addIDPRole();
+
metadata = generator.generateMetadata();
return metadata;