summaryrefslogtreecommitdiff
path: root/eaaf_core_utils/src
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-10-19 14:42:56 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-10-19 14:42:56 +0200
commitaebfb4b0fbc9d208de62930bd5460f52e0956119 (patch)
treebb3f03d9039565c9c081cc7e28c65ac0824e28b9 /eaaf_core_utils/src
parent2ec7ceafe9e8260fae8f7b66fc4f67b31aefc50c (diff)
downloadEAAF-Components-aebfb4b0fbc9d208de62930bd5460f52e0956119.tar.gz
EAAF-Components-aebfb4b0fbc9d208de62930bd5460f52e0956119.tar.bz2
EAAF-Components-aebfb4b0fbc9d208de62930bd5460f52e0956119.zip
refactor PVP 1.x constants to reuse definitions for application chaining
Diffstat (limited to 'eaaf_core_utils/src')
-rw-r--r--eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/http/pvp/PvpRProfileHttpHeaders.java42
1 files changed, 28 insertions, 14 deletions
diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/http/pvp/PvpRProfileHttpHeaders.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/http/pvp/PvpRProfileHttpHeaders.java
index 942c9fdb..cd6d7404 100644
--- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/http/pvp/PvpRProfileHttpHeaders.java
+++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/http/pvp/PvpRProfileHttpHeaders.java
@@ -11,20 +11,34 @@ public class PvpRProfileHttpHeaders {
//PVP 1.x headers
public static final String PVP_1X_VALUE_VERSION_PREFIX = "1.";
- public static final String PVP_1X_VERSION = "X-VERSION";
- public static final String PVP_1X_USERID = "X-AUTHENTICATE-UserID";
- public static final String PVP_1X_GID = "X-AUTHENTICATE-GVGID";
- public static final String PVP_1X_PARTICIPANT_ID = "X-AUTHENTICATE-PARTICIPANTID";
- public static final String PVP_1X_GV_OU_ID = "X-AUTHENTICATE-GVOUID";
- public static final String PVP_1X_OU = "X-AUTHENTICATE-OU";
- public static final String PVP_1X_FUNCTION = "X-AUTHENTICATE-GVFUNCTION";
- public static final String PVP_1X_SECCLASS = "X-AUTHENTICATE-gvSecClass";
- public static final String PVP_1X_CN = "X-AUTHENTICATE-cn";
- public static final String PVP_1X_COST_CENTER_ID = "X-ACCOUNTING-CostCenterId";
- public static final String PVP_1X_INVOICE_RECPT_ID = "X-ACCOUNTING-InvoiceRecptId";
- public static final String PVP_1X_ROLES = "X-AUTHORIZE-ROLES";
- public static final String PVP_1X_GV_OU_OKZ = "X-AUTHENTICATE-GVOUOKZ";
-
+ public static final String PVP_1X_PREFIX = "X-";
+ public static final String PVP_1X_VERSION_NAME = "Version";
+ public static final String PVP_1X_USERID_NAME = "AUTHENTICATE-UserID";
+ public static final String PVP_1X_GID_NAME = "AUTHENTICATE-GVGID";
+ public static final String PVP_1X_PARTICIPANT_ID_NAME = "AUTHENTICATE-PARTICIPANTID";
+ public static final String PVP_1X_GV_OU_ID_NAME = "AUTHENTICATE-GVOUID";
+ public static final String PVP_1X_OU_NAME = "AUTHENTICATE-OU";
+ public static final String PVP_1X_FUNCTION_NAME = "AUTHENTICATE-GVFUNCTION";
+ public static final String PVP_1X_SECCLASS_NAME = "AUTHENTICATE-gvSecClass";
+ public static final String PVP_1X_CN_NAME = "AUTHENTICATE-cn";
+ public static final String PVP_1X_COST_CENTER_ID_NAME = "ACCOUNTING-CostCenterId";
+ public static final String PVP_1X_INVOICE_RECPT_ID_NAME = "ACCOUNTING-InvoiceRecptId";
+ public static final String PVP_1X_ROLES_NAME = "AUTHORIZE-ROLES";
+ public static final String PVP_1X_GV_OU_OKZ_NAME = "AUTHENTICATE-GVOUOKZ";
+ public static final String PVP_1X_VERSION = PVP_1X_PREFIX + PVP_1X_VERSION_NAME;
+ public static final String PVP_1X_USERID = PVP_1X_PREFIX + PVP_1X_USERID_NAME;
+ public static final String PVP_1X_GID = PVP_1X_PREFIX + PVP_1X_GID_NAME;
+ public static final String PVP_1X_PARTICIPANT_ID = PVP_1X_PREFIX + PVP_1X_PARTICIPANT_ID_NAME;
+ public static final String PVP_1X_GV_OU_ID = PVP_1X_PREFIX + PVP_1X_GV_OU_ID_NAME;
+ public static final String PVP_1X_OU = PVP_1X_PREFIX + PVP_1X_OU_NAME;
+ public static final String PVP_1X_FUNCTION = PVP_1X_PREFIX + PVP_1X_FUNCTION_NAME;
+ public static final String PVP_1X_SECCLASS = PVP_1X_PREFIX + PVP_1X_SECCLASS_NAME;
+ public static final String PVP_1X_CN = PVP_1X_PREFIX + PVP_1X_CN_NAME;
+ public static final String PVP_1X_COST_CENTER_ID = PVP_1X_PREFIX + PVP_1X_COST_CENTER_ID_NAME;
+ public static final String PVP_1X_INVOICE_RECPT_ID = PVP_1X_PREFIX + PVP_1X_INVOICE_RECPT_ID_NAME;
+ public static final String PVP_1X_ROLES = PVP_1X_PREFIX + PVP_1X_ROLES_NAME;
+ public static final String PVP_1X_GV_OU_OKZ = PVP_1X_PREFIX + PVP_1X_GV_OU_OKZ_NAME;
+
//PVP 2.x headers
public static final String PVP_2X_VALUE_VERSION_PREFIX = "2.";