aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-09-04 13:34:40 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-09-04 13:34:40 +0200
commit33b76e7bb23d8772b3a2533aadd0c3313af4b29f (patch)
treee075d02393461ef202ca68d7e63769e492e6f1fc
parentd2b55c814089cd667115c6c2e46daf14c8c2611c (diff)
downloadmoa-id-spss-33b76e7bb23d8772b3a2533aadd0c3313af4b29f.tar.gz
moa-id-spss-33b76e7bb23d8772b3a2533aadd0c3313af4b29f.tar.bz2
moa-id-spss-33b76e7bb23d8772b3a2533aadd0c3313af4b29f.zip
added comments
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorWithLocalSigningServlet.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorWithLocalSigningServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorWithLocalSigningServlet.java
index cd7427913..3bc79f8bd 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorWithLocalSigningServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/PEPSConnectorWithLocalSigningServlet.java
@@ -115,7 +115,7 @@ public class PEPSConnectorWithLocalSigningServlet extends AuthServlet {
public static final String PEPSCONNECTOR_SERVLET_URL_PATTERN = "/PEPSConnectorWithLocalSigning";
- private String oasisDssWebFormURL = "https://testvidp.buergerkarte.at/oasis-dss/DSSWebFormServlet";//TODO load from config
+ private String oasisDssWebFormURL = "https://testvidp.buergerkarte.at/oasis-dss/DSSWebFormServlet";//load from config below
/**
@@ -260,9 +260,6 @@ public class PEPSConnectorWithLocalSigningServlet extends AuthServlet {
ModulUtils.buildAuthURL(moaSession.getModul(), moaSession.getAction(), pendingRequestID), newMOASessionID);
redirectURL = response.encodeRedirectURL(redirectURL);
-// response.setContentType("text/html");
-// response.setStatus(302);
-// response.addHeader("Location", redirectURL);
response.sendRedirect(redirectURL);
Logger.info("REDIRECT TO: " + redirectURL);
@@ -470,8 +467,10 @@ public class PEPSConnectorWithLocalSigningServlet extends AuthServlet {
boolean found = false;
try{
List<AttributeProviderPlugin> aps = AuthConfigurationProvider.getInstance().getOnlineApplicationParameter(moaSession.getPublicOAURLPrefix()).getStorkAPs();
+ Logger.info("Found AttributeProviderPlugins:"+aps.size());
for(AttributeProviderPlugin ap : aps)
{
+ Logger.info("Found AttributeProviderPlugin attribute:"+ap.getAttributes());
if(ap.getAttributes().equalsIgnoreCase("signedDoc"))
{
oasisDssWebFormURL = ap.getUrl();