aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-01-29 15:13:42 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-01-31 17:16:10 +0100
commit85a983b556baaaa45ea79a4da232a1a72d323708 (patch)
treed7980a109ccb618b258214e8ebf7ae48e4d1c177 /id/server/idserverlib/src/main/java/at
parent830929713b75d4cd712f1fb8a05f0ccb728f54f2 (diff)
downloadmoa-id-spss-85a983b556baaaa45ea79a4da232a1a72d323708.tar.gz
moa-id-spss-85a983b556baaaa45ea79a4da232a1a72d323708.tar.bz2
moa-id-spss-85a983b556baaaa45ea79a4da232a1a72d323708.zip
enhanced samlengine for floating config location
Diffstat (limited to 'id/server/idserverlib/src/main/java/at')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java3
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorServlet.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java
index f19881578..204e7f724 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java
@@ -1920,11 +1920,12 @@ public class AuthenticationServer implements MOAIDAuthConstants {
authnRequest.setEIDSectorShare(true);
authnRequest.setCitizenCountryCode("LOCAL");
+// authnRequest.setCitizenCountryCode(moasession.getCcc());
Logger.debug("STORK AuthnRequest succesfully assembled.");
- STORKSAMLEngine samlEngine = STORKSAMLEngine.getInstance("CONF0");
+ STORKSAMLEngine samlEngine = STORKSAMLEngine.getInstance("outgoing");
try {
authnRequest = samlEngine.generateSTORKAuthnRequest(authnRequest);
} catch (STORKSAMLEngineException e) {
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorServlet.java
index f05180932..4819b8219 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorServlet.java
@@ -97,7 +97,7 @@ public class PEPSConnectorServlet extends AuthServlet {
}
//Get SAMLEngine instance
- STORKSAMLEngine engine = STORKSAMLEngine.getInstance("CONF0");
+ STORKSAMLEngine engine = STORKSAMLEngine.getInstance("outgoing");
STORKAuthnResponse authnResponse = null;
try {