From c05c656545c7d4ed52e5bcfc51c121522c609ec5 Mon Sep 17 00:00:00 2001 From: "peter.danner" Date: Fri, 3 Feb 2006 11:01:37 +0000 Subject: changed format to support database for more proxies git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@617 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java | 3 ++- .../src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java | 3 ++- .../moa/id/proxy/XMLLoginParameterResolverEncryptedData.java | 3 ++- .../egovernment/moa/id/proxy/XMLLoginParameterResolverPlainData.java | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) (limited to 'id.server/src/at') diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java b/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java index 03034f3d3..67bdfdfec 100644 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java +++ b/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java @@ -38,7 +38,8 @@ public class DefaultLoginParameterResolver implements LoginParameterResolver { OAConfiguration oaConf, AuthenticationData authData, String clientIPAddress, - boolean businessService) { + boolean businessService, + String publicURLPrefix) { Map result = new HashMap(); diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java b/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java index 27d52fc1a..fe5a51d74 100644 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java +++ b/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java @@ -57,7 +57,8 @@ public interface LoginParameterResolver { OAConfiguration oaConf, AuthenticationData authData, String clientIPAddress, - boolean businessService) throws LoginParameterResolverException, NotAllowedException; + boolean businessService, + String publicURLPrefix) throws LoginParameterResolverException, NotAllowedException; /** * Returns request parameters to be added to a URLConnection. diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverEncryptedData.java b/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverEncryptedData.java index a0780358e..eb73a9aa6 100644 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverEncryptedData.java +++ b/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverEncryptedData.java @@ -329,7 +329,8 @@ public class XMLLoginParameterResolverEncryptedData implements LoginParameterRes OAConfiguration oaConf, AuthenticationData authData, String clientIPAddress, - boolean businessService) throws LoginParameterResolverException, NotAllowedException { + boolean businessService, + String publicURLPrefix) throws LoginParameterResolverException, NotAllowedException { Map result = new HashMap(); if (!isConfigured) { diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverPlainData.java b/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverPlainData.java index 597a6bc7d..d730ee251 100644 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverPlainData.java +++ b/id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverPlainData.java @@ -150,7 +150,7 @@ public class XMLLoginParameterResolverPlainData } //TODO document - public Map getAuthenticationHeaders(OAConfiguration oaConf, AuthenticationData authData, String clientIPAddress, boolean businessService) throws NotAllowedException + public Map getAuthenticationHeaders(OAConfiguration oaConf, AuthenticationData authData, String clientIPAddress, boolean businessService, String publicURLPrefix) throws NotAllowedException { Map result = new HashMap(); if(oaConf.getAuthType().equals("basic")) @@ -385,7 +385,7 @@ public class XMLLoginParameterResolverPlainData public void configure(String configuration, Boolean businessService) throws LoginParameterResolverException { - Logger.info("XMLLoginParameterResolverPlainData: initialization string: " + configuration); + Logger.info("XMLLoginParameterResolverPlainData: initialization string: " + configuration); this.configuration = configuration; String fileName = configuration; if(fileName == null) { -- cgit v1.2.3