diff options
| author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2021-02-19 20:05:50 +0100 | 
|---|---|---|
| committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2021-02-19 20:05:50 +0100 | 
| commit | 2b275ced46a283882bfb2042df18341968fc3450 (patch) | |
| tree | 6076ac7146be75ee5693580533445322c2181b95 /eaaf_core_api | |
| parent | d54c57cda552224f90961f8b2036389551bc3329 (diff) | |
| parent | b16cc99a8533a65b2bf8764a2f017a5882eed0cd (diff) | |
| download | EAAF-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.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"; | 
