From 41dfc9938c5e5da2dfeed251c37865a72d115f75 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 1 Mar 2021 19:40:12 +0100 Subject: change endpoints for protocol-finalization controller and add basic modul for end-points --- .../at/gv/egiz/eaaf/core/api/data/EaafConstants.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'eaaf_core_api') 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 1bbfe1b7..82749b81 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 @@ -27,6 +27,22 @@ public class EaafConstants { public static final String CONTENTTYPE_HTML_UTF8 = "text/html; charset=UTF-8"; + // common http end-point prefixes + /** + * Public end-points without any access restriction. + */ + public static final String ENDPOINT_PREFIX_PUBLIC = "/public"; + + /** + * Public end-points with access restriction, like AccessToken, PendingRequestIds, ... + */ + public static final String ENDPOINT_PREFIX_SECURED = "/public/secure"; + + /** + * Non public end-points that allow restriction on network level. + */ + public static final String ENDPOINT_PREFIX_RESTRICTED = "/restricted"; + // http request parameters for process management public static final String PARAM_HTTP_TARGET_PENDINGREQUESTID = "pendingid"; public static final String PARAM_HTTP_ERROR_CODE = "errorid"; -- cgit v1.2.3 From 4bb06aa415b2c46bcf46c0b8d951145f208a9cb0 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 1 Mar 2021 19:42:59 +0100 Subject: switch to next snapshot version because end-point update maybe brakes other projects --- eaaf_core_api/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eaaf_core_api') diff --git a/eaaf_core_api/pom.xml b/eaaf_core_api/pom.xml index 8791c5a9..7ee6cac5 100644 --- a/eaaf_core_api/pom.xml +++ b/eaaf_core_api/pom.xml @@ -7,7 +7,7 @@ at.gv.egiz eaaf - 1.1.12-SNAPSHOT + 1.1.13-SNAPSHOT at.gv.egiz.eaaf eaaf_core_api -- cgit v1.2.3