summaryrefslogtreecommitdiff
path: root/eaaf_core_api
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2021-03-01 19:56:20 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2021-03-01 19:56:20 +0100
commitfa4c8c787d5efb494e7d6c0ad80713e82095820e (patch)
tree730bf7ff459854137a971ab8be71a73a4316f6db /eaaf_core_api
parent54736c76e0ce7187915ccf9dec7573c0ab12d0a8 (diff)
parent4bb06aa415b2c46bcf46c0b8d951145f208a9cb0 (diff)
downloadEAAF-Components-fa4c8c787d5efb494e7d6c0ad80713e82095820e.tar.gz
EAAF-Components-fa4c8c787d5efb494e7d6c0ad80713e82095820e.tar.bz2
EAAF-Components-fa4c8c787d5efb494e7d6c0ad80713e82095820e.zip
Merge branch 'feature/small_changes' into 'nightlyBuild'
Feature/small changes See merge request egiz/eaaf_components!20
Diffstat (limited to 'eaaf_core_api')
-rw-r--r--eaaf_core_api/pom.xml2
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java16
2 files changed, 17 insertions, 1 deletions
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 @@
<parent>
<groupId>at.gv.egiz</groupId>
<artifactId>eaaf</artifactId>
- <version>1.1.12-SNAPSHOT</version>
+ <version>1.1.13-SNAPSHOT</version>
</parent>
<groupId>at.gv.egiz.eaaf</groupId>
<artifactId>eaaf_core_api</artifactId>
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";