aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-19 07:51:01 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-19 07:51:01 +0000
commit9b543bbd3edf7c201e5c5e026a02d80957e485a0 (patch)
treef326e41429d8b99bc8b82e5f973b33562d7a529b
parent69268e3325a8a8e41fab2f81ef6b0186242eb8b5 (diff)
downloadmoa-id-spss-9b543bbd3edf7c201e5c5e026a02d80957e485a0.tar.gz
moa-id-spss-9b543bbd3edf7c201e5c5e026a02d80957e485a0.tar.bz2
moa-id-spss-9b543bbd3edf7c201e5c5e026a02d80957e485a0.zip
Service Order for RevocationChecking now passes constants
defined within the IAIK library (e.g. RevocationSourceTypes.OCSP) git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@446 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java
index d61b995dc..9ce9da48c 100644
--- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java
+++ b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java
@@ -1199,7 +1199,12 @@ public class ConfigurationPartsBuilder {
String[] returnValue = new String[serviceOrder.length];
for (int i = 0; i < serviceOrder.length; i++)
{
- returnValue[i] = (String)serviceOrder[i];
+ if (((String)serviceOrder[i]).equalsIgnoreCase(RevocationSourceTypes.CRL)) {
+ returnValue[i] = RevocationSourceTypes.CRL;
+ } else if (((String)serviceOrder[i]).equalsIgnoreCase(RevocationSourceTypes.OCSP)) {
+ returnValue[i] = RevocationSourceTypes.OCSP;
+ }
+
}
return returnValue;
}