aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-02-24 06:37:18 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-02-24 06:37:18 +0100
commit00bda730737cfc41794fb82eadf11175f4e0ce70 (patch)
treed898b7de88454f929de12995dc8c988cff958579 /id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas
parentf981c4104724a916d937a0a903e16f5e7da7e4df (diff)
parentbeb1b84572d38646d9b55a7014484e5d1cd38eab (diff)
downloadmoa-id-spss-00bda730737cfc41794fb82eadf11175f4e0ce70.tar.gz
moa-id-spss-00bda730737cfc41794fb82eadf11175f4e0ce70.tar.bz2
moa-id-spss-00bda730737cfc41794fb82eadf11175f4e0ce70.zip
Merge remote-tracking branch 'remotes/origin/eSense_eIDAS_development' into moa-id-3.2_(OPB)
Diffstat (limited to 'id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas')
-rw-r--r--id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/eIDASAuthenticationRequest.java4
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/protocols/eidas/eIDASAuthenticationRequest.java b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/eIDASAuthenticationRequest.java
index 0702c34d5..d75d4b1b9 100644
--- a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/eIDASAuthenticationRequest.java
+++ b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/eIDASAuthenticationRequest.java
@@ -118,6 +118,10 @@ public class eIDASAuthenticationRequest implements IAction {
try {
EIDASSAMLEngine engine = SAMLEngineUtils.createSAMLEngine();
+ // encryption is done by the SamlEngine, i.e. by the module we provide in the config
+ // but we need to set the appropriate request issuer
+ engine.setRequestIssuer(eidasRequest.getEidasRequest().getIssuer());
+
// check if we have the destination available, supply it if not
if(null == eidasRequest.getEidasRequest().getAssertionConsumerServiceURL()) {
String assertionConsumerUrl = MetadataUtil.getAssertionUrlFromMetadata(