diff options
author | Thomas <> | 2021-02-19 16:48:53 +0100 |
---|---|---|
committer | Thomas <> | 2021-02-19 16:48:53 +0100 |
commit | b16cc99a8533a65b2bf8764a2f017a5882eed0cd (patch) | |
tree | 6076ac7146be75ee5693580533445322c2181b95 /eaaf_core_api/src/main | |
parent | 2b77cd297aee2081ad8c99ba9f79483cf35178a7 (diff) | |
download | EAAF-Components-b16cc99a8533a65b2bf8764a2f017a5882eed0cd.tar.gz EAAF-Components-b16cc99a8533a65b2bf8764a2f017a5882eed0cd.tar.bz2 EAAF-Components-b16cc99a8533a65b2bf8764a2f017a5882eed0cd.zip |
fix wrong bPK calculation for XZVR and XERSB bpkTargets
Diffstat (limited to 'eaaf_core_api/src/main')
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java index cb947219..1bbfe1b7 100644 --- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java @@ -74,6 +74,10 @@ public class EaafConstants { private static final String WBPK_TARGET_ZVR = "ZVR"; private static final String WBPK_TARGET_ERSB = "ERSB"; + private static final String WBPK_CALC_TARGET_ZVR = "VR"; + private static final String WBPK_CALC_TARGET_ERSB = "ERJ"; + + private static final String URN_PREFIX_WBPK_TARGET_XFN_TARGET = EaafConstants.URN_PREFIX_WBPK_TARGET_WITH_X + WBPK_TARGET_FN; private static final String URN_PREFIX_WBPK_TARGET_XZVR_TARGET = @@ -85,6 +89,12 @@ public class EaafConstants { private static final String URN_PREFIX_WBPK_TARGET_ZVR_TARGET = EaafConstants.URN_PREFIX_WBPK + WBPK_TARGET_ZVR; private static final String URN_PREFIX_WBPK_TARGET_ERSB_TARGET = EaafConstants.URN_PREFIX_WBPK + WBPK_TARGET_ERSB; + private static final String URN_PREFIX_WBPK_CALC_TARGET_ZVR_TARGET = + EaafConstants.URN_PREFIX_WBPK + WBPK_CALC_TARGET_ZVR; + private static final String URN_PREFIX_WBPK_CALC_TARGET_ERSB_TARGET = + EaafConstants.URN_PREFIX_WBPK + WBPK_CALC_TARGET_ERSB; + + public static final Map<String, String> URN_WBPK_TARGET_X_TO_NONE_MAPPER; static { @@ -96,6 +106,17 @@ public class EaafConstants { } + public static final Map<String, String> URN_WBPK_TARGET_X_TO_CALC_TARGET_MAPPER; + + static { + final Map<String, String> intMap = new LinkedHashMap<>(); + intMap.put(URN_PREFIX_WBPK_TARGET_XFN_TARGET, URN_PREFIX_WBPK_TARGET_FN_TARGET); + intMap.put(URN_PREFIX_WBPK_TARGET_XZVR_TARGET, URN_PREFIX_WBPK_CALC_TARGET_ZVR_TARGET); + intMap.put(URN_PREFIX_WBPK_TARGET_XERSB_TARGET, URN_PREFIX_WBPK_CALC_TARGET_ERSB_TARGET); + URN_WBPK_TARGET_X_TO_CALC_TARGET_MAPPER = Collections.unmodifiableMap(intMap); + + } + // Authentication process data_constants public static final String UNIQUESESSIONIDENTIFIER = "eaaf_uniqueSessionIdentifier"; |