aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
authorpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2008-01-15 17:22:41 +0000
committerpdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2008-01-15 17:22:41 +0000
commit8f74ab07dabef102128bd1244b73c0f4805ed10b (patch)
treef7bb74949968e01a2fa9c93df79fb06d984ba0bf /id/server/idserverlib/src/main/java
parent5a7af6f83687f1cb9d5e1c8acd8056dafb49b212 (diff)
downloadmoa-id-spss-8f74ab07dabef102128bd1244b73c0f4805ed10b.tar.gz
moa-id-spss-8f74ab07dabef102128bd1244b73c0f4805ed10b.tar.bz2
moa-id-spss-8f74ab07dabef102128bd1244b73c0f4805ed10b.zip
Changed scope of mandate compatibility mode to be used with all infoboxes
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1054 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java3
1 files changed, 2 insertions, 1 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 3457051c4..5cd03cb18 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
@@ -606,13 +606,14 @@ public class AuthenticationServer implements MOAIDAuthConstants {
"\"-infobox could not be parsed successfully: " + e.getMessage());
throw new ValidateException("validator.43", new Object[] {friendlyName});
}
+ // set compatibility mode for mandates infobox and all infoboxes (it is possible to be a parep infobox)
+ session.setMandateCompatibilityMode(ParepConfiguration.isMandateCompatibilityMode(verifyInfoboxParameter.getApplicationSpecificParams()));
// check for party representation in mandates infobox
if (Constants.INFOBOXIDENTIFIER_MANDATES.equalsIgnoreCase(identifier) && !((infoboxTokenList == null || infoboxTokenList.size() == 0))){
//We need app specific parameters
if (null==verifyInfoboxParameter.getApplicationSpecificParams()) {
throw new ValidateException("validator.66", new Object[] {friendlyName});
}
- session.setMandateCompatibilityMode(ParepConfiguration.isMandateCompatibilityMode(verifyInfoboxParameter.getApplicationSpecificParams()));
Element mandate = ParepValidator.extractPrimaryToken(infoboxTokenList);
//ParepUtils.serializeElement(mandate, System.out);
String mandateID = ParepUtils.extractRepresentativeID(mandate);