1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package fr.paris.lutece.plugins.identitystore.v2.web.rs.util;
35
36
37
38
39
40 public final class Constants
41 {
42 public static final String PROPERTY_APPLICATION_VERSION = "identitystore.version";
43 public static final String VERSION_PATH_V1 = "/v1";
44 public static final String VERSION_PATH_V2 = "/v2";
45 public static final String IDENTITY_PATH = "/identity";
46 public static final String DOWNLOAD_FILE_PATH = "/file";
47 public static final String UPDATE_IDENTITY_PATH = "/update";
48 public static final String CREATE_IDENTITY_PATH = "/create";
49 public static final String SEARCH_IDENTITIES_PATH = "/search";
50 public static final String APPLICATION_RIGHTS_PATH = "/apprights";
51 public static final String PARAM_ID_CONNECTION = "connection_id";
52 public static final String PARAM_ID_CUSTOMER = "customer_id";
53 public static final String PARAM_CLIENT_CODE = "client_code";
54 public static final String PARAM_CERTIFIER_CODE = "certifier_code";
55 public static final String PARAM_FILE = "file";
56 public static final String PARAM_ATTRIBUTE_KEY = "attribute_key";
57 public static final String PLUGIN_PATH = "identitystore";
58 public static final String RESPONSE_OK = "OK";
59 public static final String PARAM_IDENTITY_CHANGE = "identityChange";
60 public static final String ERROR_FIELD_MISSING = "FIELD_MISSING";
61 public static final String ERROR_FIELD_PERMISSION = "FIELD_PERMISION_ERROR";
62 public static final String PARAMETER_NAME = "name";
63 public static final String CERTIFY_ATTRIBUTES_PATH = "/certify";
64
65
66 public static final String CONTENT_FORMAT_CHARSET = "application/json; charset=utf-8";
67
68
69 public static final String ERROR_MESSAGE = "Failed : HTTP error code : ";
70 public static final String NO_CUSTOMER_ID = "";
71
72
73 public static final String APPLICATION_JSON = "application/json";
74 public static final String CONTENT_TYPE = "Content-Type";
75 public static final String ACCEPT = "Accept";
76 public static final String AUTHORIZATION = "Authorization";
77 public static final String APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded";
78
79
80
81
82 private Constants( )
83 {
84 }
85 }