aboutsummaryrefslogtreecommitdiff
path: root/spss.server/src/at/gv/egovernment
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-07-13 09:46:39 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-07-13 09:46:39 +0000
commit29c80b52bf13f3646a02d4d3cd17beaf11fecf66 (patch)
treed2026a8450ba9ecdb6062e51459b16fd7055904e /spss.server/src/at/gv/egovernment
parent246ab430e61374d6d23b1b30a8ffe614c5589b5f (diff)
downloadmoa-id-spss-29c80b52bf13f3646a02d4d3cd17beaf11fecf66.tar.gz
moa-id-spss-29c80b52bf13f3646a02d4d3cd17beaf11fecf66.tar.bz2
moa-id-spss-29c80b52bf13f3646a02d4d3cd17beaf11fecf66.zip
Bug 224 behoben.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@377 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.server/src/at/gv/egovernment')
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java
index c3ba9fe23..4927bb9b0 100644
--- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java
+++ b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java
@@ -496,6 +496,19 @@ public class ConfigurationProvider {
return keyGroup.getKeyGroupEntries();
}
}
+
+ // If no key group is available for a client identified by a certificate,
+ // try to find a key group in the anonymous key group mapping
+ if (issuer != null || serial != null)
+ {
+ mapping = (Map) keyGroupMappings.get(ANONYMOUS_ISSUER_SERIAL);
+ if (mapping != null)
+ {
+ KeyGroup keyGroup = (KeyGroup) mapping.get(keyGroupId);
+ if (keyGroup != null) return keyGroup.getKeyGroupEntries();
+ }
+ }
+
return null;
}