summaryrefslogtreecommitdiff
path: root/eaaf_core_api
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2021-02-19 20:05:50 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2021-02-19 20:05:50 +0100
commit2b275ced46a283882bfb2042df18341968fc3450 (patch)
tree6076ac7146be75ee5693580533445322c2181b95 /eaaf_core_api
parentd54c57cda552224f90961f8b2036389551bc3329 (diff)
parentb16cc99a8533a65b2bf8764a2f017a5882eed0cd (diff)
downloadEAAF-Components-2b275ced46a283882bfb2042df18341968fc3450.tar.gz
EAAF-Components-2b275ced46a283882bfb2042df18341968fc3450.tar.bz2
EAAF-Components-2b275ced46a283882bfb2042df18341968fc3450.zip
Merge branch 'feature/small_changes' into 'nightlyBuild'
fix wrong bPK calculation for XZVR and XERSB bpkTargets See merge request egiz/eaaf_components!17
Diffstat (limited to 'eaaf_core_api')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java21
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";