aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-module-eIDAS/src/main/java/at
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-30 13:36:35 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-30 13:36:35 +0200
commit88fe47db569a262a4631e002187f54979d1ab9a6 (patch)
treeb0efb5efee9f6af176b7711a2b4eb350448bc4eb /id/server/modules/moa-id-module-eIDAS/src/main/java/at
parentfb01851bc8fb7dfede70ddbe251f3e416bbd36b3 (diff)
downloadmoa-id-spss-88fe47db569a262a4631e002187f54979d1ab9a6.tar.gz
moa-id-spss-88fe47db569a262a4631e002187f54979d1ab9a6.tar.bz2
moa-id-spss-88fe47db569a262a4631e002187f54979d1ab9a6.zip
extract eIDAS SPType from inbound AuthnRequest
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/protocols/eidas/EIDASProtocol.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EIDASProtocol.java b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EIDASProtocol.java
index 1d1fc5ede..1996c3d7c 100644
--- a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EIDASProtocol.java
+++ b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/protocols/eidas/EIDASProtocol.java
@@ -186,6 +186,15 @@ public class EIDASProtocol extends AbstractAuthProtocolModulController {
throw new AuthenticationException("stork.12", new Object[]{pendingReq.getOAURL()});
pendingReq.setOnlineApplicationConfiguration(oaConfig);
+ String spType = samlReq.getSPType();
+ if (MiscUtil.isEmpty(spType)) {
+ Logger.info("Load SPType from metadata ... IS NOT IMPLEMENTED YET!!!");
+ //TODO: maybe implement this if required
+
+ }
+
+ Logger.debug("eIDAS request has SPType:" + spType);
+
} catch(Exception e) {
Logger.error("error in preprocessing step", e);
throw new MOAIDException("error in preprocessing step", null);