1   /*
2    * Copyright 2000-2001,2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  /* 
18  
19   */
20  
21  package org.apache.wsrp4j.consumer.util;
22  
23  public interface ConsumerConstants {
24  
25      /**
26       * Key in the property file which is used to set the implementation 
27       * of the consumer environment.
28       **/
29      public final String CONSUMER_ENV_CLASS = "consumer.enviroment.class";
30  
31      // some constants used within the proxy portlet
32      public static final String WSRP_INSTANCE_KEY = "wsrp_portlet_instance_key";
33  
34      public static final String WSRP_SESSION_ID = "wsrp_session_id";
35  
36      public static final String WSRP_MARKUP_CACHE = "wsrp_markup_cache";
37  
38      public static final String WSRP_GROUPSESSIONS = "wsrp_group_sessions";
39  
40      public static final String WSRP_PORTLET_MAN_PORT = "wsrp_portlet_manag_port";
41  
42      public static final String WSRP_MARKUP_PORT = "wsrp_markup_port";
43  
44      public static final String WSRP_INIT_COOKIE_DONE = "wsrp_init_cookie_done";
45  
46      public static final String WSRP_INIT_COOKIE_REQ = "wsrp_init_cookie_required";
47  
48      // consumer to end-user authentication methods
49      public static final String NONE = "wsrp:none";
50  
51      public static final String PASSWORD = "wsrp:password";
52  
53      public static final String CERTIFICATE = "wsrp:certificate";
54  
55      // keys for proxy portlet preferences
56      public static final String WSRP_PORTLET_HANDLE = "wsrp_portlet_handle";
57  
58      public static final String WSRP_PARENT_HANDLE = "wsrp_parent_handle";
59  
60      public static final String WSRP_PRODUCER_ID = "wsrp_producer_id";
61  
62      public static final String WSRP_REGISTRATION_URL = "wsrp_reg_url";
63  
64      public static final String WSRP_SERVICE_DESC_URL = "wsrp_service_desc_url";
65  
66      public static final String WSRP_PORTLET_SERV_URL = "wsrp_portlet_serv_url";
67  
68      public static final String WSRP_PORTLET_MGMT_URL = "wsrp_portlet_mgmt_url";
69  
70      public static final String WSRP_MARKUP_URL = "wsrp_markup_url";
71  }