aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa/id/proxy
diff options
context:
space:
mode:
authorpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-03 11:01:37 +0000
committerpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2006-02-03 11:01:37 +0000
commitc05c656545c7d4ed52e5bcfc51c121522c609ec5 (patch)
treeed34514eb6e340971bcf791c524dc2aeb1c677c3 /id.server/src/at/gv/egovernment/moa/id/proxy
parent4e3272248393d18307b9b78b12b5de74aa28b76f (diff)
downloadmoa-id-spss-c05c656545c7d4ed52e5bcfc51c121522c609ec5.tar.gz
moa-id-spss-c05c656545c7d4ed52e5bcfc51c121522c609ec5.tar.bz2
moa-id-spss-c05c656545c7d4ed52e5bcfc51c121522c609ec5.zip
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
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa/id/proxy')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java3
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java3
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverEncryptedData.java3
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/proxy/XMLLoginParameterResolverPlainData.java4
4 files changed, 8 insertions, 5 deletions
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) {