summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src
diff options
context:
space:
mode:
authorThomas <>2021-03-01 19:40:12 +0100
committerThomas <>2021-03-01 19:40:12 +0100
commit41dfc9938c5e5da2dfeed251c37865a72d115f75 (patch)
treedd201022b13ea6e6507fe20f31bf28ca63bcb879 /eaaf_core_api/src
parentda964d59a926c23ef6a14210b59de30742e1e45c (diff)
downloadEAAF-Components-41dfc9938c5e5da2dfeed251c37865a72d115f75.tar.gz
EAAF-Components-41dfc9938c5e5da2dfeed251c37865a72d115f75.tar.bz2
EAAF-Components-41dfc9938c5e5da2dfeed251c37865a72d115f75.zip
change endpoints for protocol-finalization controller and add basic modul for end-points
Diffstat (limited to 'eaaf_core_api/src')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java16
1 files changed, 16 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 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";