From 8fd4b91b8da067055133b2feb97e726c6a834c78 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 12 Feb 2020 12:18:01 +0100 Subject: Add a few new constants --- .../java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'eaaf_core_api/src/main') 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 8a5c9cb1..4bd5bc39 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 @@ -37,15 +37,18 @@ public class EaafConstants { public static final String EIDAS_LOA_MATCHING_EXACT = "exact"; // Austrian specific prefixes for pseudonyms of users + public static final String URN_PART_BASEID = "baseid"; + public static final String URN_PART_CDID = "cdid+"; public static final String URN_PART_WBPK = "wbpk+"; public static final String URN_PART_EIDAS = "eidasid+"; public static final String URN_PREFIX = "urn:publicid:gv.at"; - public static final String URN_PREFIX_BASEID = URN_PREFIX + ":baseid"; - public static final String URN_PREFIX_CDID = URN_PREFIX + ":cdid+"; + public static final String URN_PREFIX_WITH_COLON = URN_PREFIX + ":"; + public static final String URN_PREFIX_BASEID = URN_PREFIX_WITH_COLON + URN_PART_BASEID; + public static final String URN_PREFIX_CDID = URN_PREFIX_WITH_COLON + URN_PART_CDID; public static final String URN_PREFIX_BPK = URN_PREFIX_CDID + "bpk"; - public static final String URN_PREFIX_WBPK = URN_PREFIX + ":" + URN_PART_WBPK; - public static final String URN_PREFIX_EIDAS = URN_PREFIX + ":" + URN_PART_EIDAS; + public static final String URN_PREFIX_WBPK = URN_PREFIX_WITH_COLON + URN_PART_WBPK; + public static final String URN_PREFIX_EIDAS = URN_PREFIX_WITH_COLON + URN_PART_EIDAS; public static final String URN_PREFIX_OW_BPK = URN_PREFIX_CDID + "OW"; // Authentication process data_constants -- cgit v1.2.3