KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > webforwards > WebForwardEventConstants


1 /*
2  * SSL-Explorer
3  *
4  * Copyright (C) 2003-2006 3SP LTD. All Rights Reserved
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */

19             
20 package com.sslexplorer.webforwards;
21
22 /**
23  * Constants used for event attributes
24  * @author James D Robinson <a HREF="mailto:james@3sp.com">&lt;james@3sp.com&gt;</a>
25  */

26 public class WebForwardEventConstants {
27
28     /**
29      * Web forward type
30      */

31     public static final String JavaDoc EVENT_ATTR_WEB_FORWARD_TYPE = "webForwardType";
32     
33     /**
34      * Web forward destination URL
35      */

36     public static final String JavaDoc EVENT_ATTR_WEB_FORWARD_URL = "webForwardDestinationUrl";
37     
38     /**
39      * Web forward category
40      */

41     public static final String JavaDoc EVENT_ATTR_WEB_FORWARD_CATEGORY = "webForwardDestinationCategory";
42     
43     /**
44      * Web forward authentication username
45      */

46     public static final String JavaDoc EVENT_ATTR_WEB_FORWARD_AUTH_USERNAME = "authenticationUsername";
47     
48     /**
49      * Web forward prefered authentication scheme
50      */

51     public static final String JavaDoc EVENT_ATTR_WEB_FORWARD_PREFERED_AUTH_SCHEME = "preferredAuthenticationScheme";
52     
53     /**
54      * Web forward form type
55      */

56     public static final String JavaDoc EVENT_ATTR_WEB_FORWARD_AUTH_FORM_TYPE = "formType";
57
58     /**
59      * Web forward form parameters
60      */

61     public static final String JavaDoc EVENT_ATTR_WEB_FORWARD_AUTH_FORM_PARAMETERS = "formParameters";
62     
63     /**
64      * Replacement Web forward restrict to hosts
65      */

66     public static final String JavaDoc EVENT_ATTR_REPLACEMENT_WEB_FORWARD_RESTRICT_TO_HOSTS = "restrictToHosts";
67     
68     /**
69      * Replacement Web forward encodeing
70      */

71     public static final String JavaDoc EVENT_ATTR_REPLACEMENT_WEB_FORWARD_ENCODEING = "encoding";
72     
73     /**
74      * Reverse Web forward paths
75      */

76     public static final String JavaDoc EVENT_ATTR_REVERSE_WEB_FORWARD_PATHS = "paths";
77     
78     /**
79      * Reverse Web forward active dns
80      */

81     public static final String JavaDoc EVENT_ATTR_REVERSE_WEB_FORWARD_ACTIVE_DNS = "activeDNS";
82     
83     /**
84      * Reverse Web forward host header
85      */

86     public static final String JavaDoc EVENT_ATTR_REVERSE_WEB_FORWARD_HOST_HEADER = "hostHeader";
87
88     /**
89      * Reverse Web forward custom headers
90      */

91     public static final String JavaDoc EVENT_ATTR_REVERSE_WEB_FORWARD_CUSTOM_HEADERS = "customHeaders";
92
93     /**
94      * Type of replacement
95      */

96     public static final String JavaDoc EVENT_ATTR_REPLACEMENT_TYPE = "replacementType";
97     
98     /**
99      * Pattern for replacement
100      */

101     public static final String JavaDoc EVENT_ATTR_REPLACEMENT_PATTERN = "replacementPattern";
102     
103     /**
104      * Sequence of replacement
105      */

106     public static final String JavaDoc EVENT_ATTR_REPLACEMENT_SEQUENCE = "replacementSequence";
107     
108     /**
109      * A web forward has just been started
110      */

111     public static final int WEB_FORWARD_STARTED = 610;
112
113     /**
114      * A resource has been loaded through a web forwadd
115      */

116     public static final int WEB_FORWARD_RESOURCE_LOADED = 611;
117
118     /**
119      * A replacement has been deleted
120      */

121     public static final int DELETE_REPLACEMENT = 2022;
122     
123     /**
124      * A replacement has been updated
125      */

126     public static final int UPDATE_REPLACEMENT = 2023;
127
128     /**
129      * A replacement has been created
130      */

131     public static final int CREATE_REPLACEMENT = 2024;
132
133     /**
134      * A replacement has been moved down
135      */

136     public static final int REPLACEMENT_PRECEDENCE_CHANGED = 2025;
137     
138     /**
139      * Web forward created
140      */

141     public static final int CREATE_WEB_FORWARD = 2016;
142
143     /**
144      * Web forward updated
145      */

146     public static final int UPDATE_WEB_FORWARD = 2017;
147
148     /**
149      * Web forward deleted
150      */

151     public static final int DELETE_WEBFORWARD = 2018;
152
153 }
154
Popular Tags