aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/test/abnahme
diff options
context:
space:
mode:
authorpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-10-30 09:01:22 +0000
committerpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-10-30 09:01:22 +0000
commitfd8f60064e096b3c011cfc18e86a224308d762f7 (patch)
tree663148b5c7796512abed02e26d40e7d4356dc15f /id.server/src/test/abnahme
parent5d0e89e2aa3b46203fe748b3d34c433afcee72cf (diff)
downloadmoa-id-spss-fd8f60064e096b3c011cfc18e86a224308d762f7.tar.gz
moa-id-spss-fd8f60064e096b3c011cfc18e86a224308d762f7.tar.bz2
moa-id-spss-fd8f60064e096b3c011cfc18e86a224308d762f7.zip
updated for wbPK
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@538 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/test/abnahme')
-rw-r--r--id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java2
-rw-r--r--id.server/src/test/abnahme/P/Test100LoginParameterResolver.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java b/id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java
index c7ee57f09..8bf7f32ab 100644
--- a/id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java
+++ b/id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java
@@ -565,7 +565,7 @@ public class Test300VerifyAuthBlock extends AbnahmeTestCase {
authData.setIssueInstant(DateTimeUtils.buildDateTime(Calendar.getInstance()));
String vpkBase64 = new BPKBuilder().buildBPK(
identityLink.getIdentificationValue(), session.getTarget());
- authData.setPBK(vpkBase64);
+ authData.setBPK(vpkBase64);
authData.setGivenName(identityLink.getGivenName());
authData.setFamilyName(identityLink.getFamilyName());
authData.setDateOfBirth(identityLink.getDateOfBirth());
diff --git a/id.server/src/test/abnahme/P/Test100LoginParameterResolver.java b/id.server/src/test/abnahme/P/Test100LoginParameterResolver.java
index ede69dd8b..b56f7f4ab 100644
--- a/id.server/src/test/abnahme/P/Test100LoginParameterResolver.java
+++ b/id.server/src/test/abnahme/P/Test100LoginParameterResolver.java
@@ -54,7 +54,7 @@ public class Test100LoginParameterResolver extends AbnahmeTestCase {
authData.setGivenName("Hugo");
// resolve login headers
- Map loginHeaders = lpr.getAuthenticationHeaders(oaConf, authData, CLIENT_IP_ADDRESS);
+ Map loginHeaders = lpr.getAuthenticationHeaders(oaConf, authData, CLIENT_IP_ADDRESS, false);
// validate login headers
assertEquals(1, loginHeaders.keySet().size());
@@ -84,10 +84,10 @@ public class Test100LoginParameterResolver extends AbnahmeTestCase {
String DATE_OF_BIRTH = "1963-12-29";
String VPK = "kp6hOq6LRAkLtrqm6EvDm6bMwJw=";
authData.setDateOfBirth(DATE_OF_BIRTH);
- authData.setPBK(VPK);
+ authData.setBPK(VPK);
// resolve login parameters
- Map loginParameters = lpr.getAuthenticationParameters(oaConf, authData, CLIENT_IP_ADDRESS);
+ Map loginParameters = lpr.getAuthenticationParameters(oaConf, authData, CLIENT_IP_ADDRESS, false);
// validate login headers
assertEquals(2, loginParameters.keySet().size());
@@ -122,7 +122,7 @@ public class Test100LoginParameterResolver extends AbnahmeTestCase {
authData.setIdentificationValue(STAMMZAHL);
// resolve login headers
- Map loginHeaders = lpr.getAuthenticationHeaders(oaConf, authData, CLIENT_IP_ADDRESS);
+ Map loginHeaders = lpr.getAuthenticationHeaders(oaConf, authData, CLIENT_IP_ADDRESS, false);
// validate login headers
assertEquals(5, loginHeaders.keySet().size());