diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-04-18 11:40:43 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-04-18 11:40:43 +0200 |
commit | 2148e57eb243fcb7089356a64be057a92bb1baaa (patch) | |
tree | 146c4d49bbf783eeafc0170bc21fc9397a83d452 /id/server/idserverlib/src/main | |
parent | 01859ec74a29e0e12a0bb8e3159a476934d1bfc1 (diff) | |
download | moa-id-spss-2148e57eb243fcb7089356a64be057a92bb1baaa.tar.gz moa-id-spss-2148e57eb243fcb7089356a64be057a92bb1baaa.tar.bz2 moa-id-spss-2148e57eb243fcb7089356a64be057a92bb1baaa.zip |
fix merge problem in STORK AutnRequest builder
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java | 6 |
1 files changed, 4 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 d7083ec81..5c6be5cba 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 @@ -1826,11 +1826,13 @@ public class AuthenticationServer implements MOAIDAuthConstants { String destination = cpeps.getPepsURL().toExternalForm(); Logger.debug("C-PEPS URL: " + destination); - String acsURL = HTTPUtils.getBaseURL(req) + PEPSConnectorServlet.PEPSCONNECTOR_SERVLET_URL_PATTERN; + + String issuerValue = AuthConfigurationProvider.getInstance().getPublicURLPrefix(); + String acsURL = new DataURLBuilder().buildDataURL(issuerValue, + PEPSConnectorServlet.PEPSCONNECTOR_SERVLET_URL_PATTERN, moasession.getSessionID()); Logger.debug("MOA Assertion Consumer URL (PEPSConnctor): " + acsURL); String providerName = oaParam.getFriendlyName(); - String issuerValue = HTTPUtils.getBaseURL(req); Logger.debug("Issuer value: " + issuerValue); // prepare collection of required attributes |