KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > core > CoreAttributeConstants


1 package com.sslexplorer.core;
2
3
4 /**
5  * Constants used for event attributes
6  *
7  * @author Peter King <a HREF="mailto: peter@3sp.com">&lt;peter@3sp.com&gt;</a>
8  * @author Brett Smith <a HREF="mailto: brett@3sp.com">&lt;brett@3sp.com&gt;</a>
9  */

10 public class CoreAttributeConstants {
11
12     /**
13      * Generic attribute for IP address
14      */

15     public static final String JavaDoc EVENT_ATTR_IP_ADDRESS = "ipAddress";
16
17     /**
18      * Generic attribute for host
19      */

20     public static final String JavaDoc EVENT_ATTR_HOST = "host";
21
22     /**
23      * Generic attribute for host
24      */

25     public static final String JavaDoc EVENT_ATTR_SCHEME = "scheme";
26
27     /**
28      * Generic attribute for a event specific string message
29      */

30     public static final String JavaDoc EVENT_ATTR_MESSAGE = "message";
31
32     /*
33      * SSL Certificate
34      */

35
36     /**
37      * Certificate Alias
38      */

39     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_ALIAS = "alias";
40
41     /**
42      * Certificate Type
43      */

44     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_TYPE = "type";
45     
46     /**
47      * Certificate Host Name
48      */

49     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_HOSTNAME = "hostname";
50     
51     /**
52      * Certificate Organisation Unit
53      */

54     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_ORGANISATIONAL_UNIT = "organisationalUnit";
55     
56     /**
57      * Certificate Company
58      */

59     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_COMPANY = "company";
60     
61      /**
62      * Certificate Country Code
63       */

64     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_COUNTRY_CODE = "countryCode";
65     
66     /**
67      * Certificate Location
68      */

69     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_LOCATION = "location";
70     
71     /**
72      * Certificate state
73      */

74     public final static String JavaDoc EVENT_ATTR_CERTIFICATE_STATE = "state";
75     
76     /**
77      * Certificate Key Store Type
78      */

79     public static final String JavaDoc EVENT_ATTR_CERTIFICATE_KEY_STORE_TYPE = "keyStoreType";
80     
81     /**
82      * Certificate Key Algorithme
83      */

84     public static final String JavaDoc EVENT_ATTR_CERTIFICATE_KEY_ALGORITHME = "keyAlgorithme";
85     
86     /**
87      * Certificate Key Bit Length
88      */

89     public static final String JavaDoc EVENT_ATTR_CERTIFICATE_KEY_BIT_LENGTH = "keyBitLength";
90     
91     
92     /*
93      * Extension
94      */

95
96     /**
97      * Extension id
98      */

99     public static final String JavaDoc EVENT_ATTR_EXTENSION_ID = "extensionId";
100
101     /**
102      * Extension name
103      */

104     public static final String JavaDoc EVENT_ATTR_EXTENSION_NAME = "extensionName";
105     
106     /**
107      * Extension version
108      */

109     public static final String JavaDoc EVENT_ATTR_EXTENSION_TYPE = "extensionType";
110     
111     /**
112      * Extension version
113      */

114     public static final String JavaDoc EVENT_ATTR_EXTENSION_VERSION = "extensionVersion";
115
116     /*
117      * Application shortcuts
118      */

119
120     /**
121      * Application id
122      */

123     public static final String JavaDoc EVENT_ATTR_APPLICATION_ID = "applicationId";
124
125     /**
126      * Application name
127      */

128     public static final String JavaDoc EVENT_ATTR_APPLICATION_NAME = "applicationName";
129
130     /*
131      * IP Restrictions
132      */

133     
134     /**
135      * IP Restriction Id
136      */

137     public static final String JavaDoc EVENT_ATTR_IP_RESTRICTION_ID = "ipRestrictionId";
138     
139     /**
140      * IP Restriction Address
141      */

142     public static final String JavaDoc EVENT_ATTR_IP_RESTRICTION_ADDRESS = "ipRestrictionAddress";
143     
144     /**
145      * IP Restriction is allowed access
146      */

147     public static final String JavaDoc EVENT_ATTR_IP_RESTRICTION_IS_AUTHORIZED = "ipRestrictionIsAuthorized";
148
149     
150     /*
151      * Generic resource update constants
152      */

153
154     /**
155      * Resource ID
156      */

157     public static final String JavaDoc EVENT_ATTR_RESOURCE_ID = "resourceId";
158
159     /**
160      * Resource name
161      */

162     public static final String JavaDoc EVENT_ATTR_RESOURCE_NAME = "resourceName";
163
164     /**
165      * Resource description
166      */

167     public static final String JavaDoc EVENT_ATTR_RESOURCE_DESCRIPTION = "resourceDescription";
168
169     /**
170      * Parent Resource Permission
171      */

172     public static final String JavaDoc EVENT_ATTR_TYPE_PERMISSION = "typePermission";
173     
174     /**
175      * Access right type
176      */

177     public static final String JavaDoc EVENT_ATTR_TYPE_ACCESS_RIGHT = "typeAccessRight";
178     
179     /**
180      * If the resource is an {@link com.sslexplorer.policyframework.OwnedResource}
181      * then this key stores the owner username
182      */

183     public static final String JavaDoc EVENT_ATTR_RESOURCE_OWNER = "resourceOwner";
184
185     /**
186      * Resource type ID
187      */

188
189     public static final String JavaDoc EVENT_ATTR_RESOURCE_TYPE_ID = "resourceTypeId";
190
191     /**
192      * Policy ID
193      */

194     public static final String JavaDoc EVENT_ATTR_POLICY_ID = "policyId";
195
196     /**
197      * Policy name
198      */

199     public static final String JavaDoc EVENT_ATTR_POLICY_NAME = "policyName";
200
201     /**
202      * Policy description
203      */

204     public static final String JavaDoc EVENT_ATTR_POLICY_DESCRIPTION = "policyDescription";
205     
206     /*
207      * Account editing
208      */

209
210     /**
211      * Generic principal ID (group id or account id)
212      */

213     public final static String JavaDoc EVENT_ATTR_PRINCIPAL_ID = "principalId";
214
215     /**
216      * Generic principal type (group or account)
217      */

218     public static final String JavaDoc EVENT_ATTR_PRINCIPAL_TYPE = "principalType";
219
220     /**
221      * Group for account
222      */

223     public static final String JavaDoc EVENT_ATTR_GROUP = "group";
224     
225     /**
226      * Account for group
227      */

228     public static final String JavaDoc EVENT_ATTR_ACCOUNT = "account";
229     
230     
231     
232     /**
233      * Account full name
234      */

235     public static final String JavaDoc EVENT_ATTR_FULL_NAME = "fullName";
236     
237     /**
238      * Account email address
239      */

240     public static final String JavaDoc EVENT_ATTR_ACCOUNT_EMAIL = "accountEmail";
241     
242     /**
243      * Account is enabled
244      */

245     public static final String JavaDoc EVENT_ATTR_ACCOUNT_IS_ENABLED = "accountIsEnabled";
246     
247     /**
248      * Old value of changed property
249      */

250     public static final String JavaDoc EVENT_ATTR_PROPERTY_OLD_VALUE = "oldPropertyValue";
251     
252     /**
253      * New value of changed property
254      */

255     public static final String JavaDoc EVENT_ATTR_PROPERTY_NEW_VALUE = "newPropertyValue";
256     
257     /**
258      * Name of property change has changed
259      */

260     public static final String JavaDoc EVENT_ATTR_PROPERTY_NAME = "propertyName";
261     
262     /*
263      * Property changes
264      */

265     
266     /*
267      * Other
268      */

269     
270     /**
271      * Exception message
272      */

273     public static final String JavaDoc EVENT_ATTR_EXCEPTION_MESSAGE = "exceptionMessage";
274
275     
276     /**
277      * Date of last PIN number change
278      */

279     public static final String JavaDoc EVENT_ATTR_LAST_PIN_CHANGE = "lastPinChange";
280
281     /**
282      * Username whose attributes have changed
283      */

284     public static final String JavaDoc EVENT_ATTR_ATTRIBUTE_USER = "attributeUser";
285
286     /**
287      * Role id
288      */

289     public static final String JavaDoc EVENT_ATTR_ROLE_ID = "roleId";
290     
291     /*
292      * Messaging
293      */

294     
295     /**
296      * Comma separated list of recipients
297      */

298     public static final String JavaDoc EVENT_ATTR_MESSAGE_ID = "messageId";
299     
300     /**
301      * Comma separated list of user recipients
302      */

303     public static final String JavaDoc EVENT_ATTR_MESSAGE_USER_RECIPIENTS = "messageUserRecipients";
304     
305     /**
306      * Comma separated list of role recipients
307      */

308     public static final String JavaDoc EVENT_ATTR_MESSAGE_ROLE_RECIPIENTS = "messageRoleRecipients";
309     
310     /**
311      * Comma separated list of policy recipients
312      */

313     public static final String JavaDoc EVENT_ATTR_MESSAGE_POLICY_RECIPIENTS = "messagePolicyRecipients";
314     
315     /**
316      * Boolean indiciating if the message is urgent or not
317      */

318     public static final String JavaDoc EVENT_ATTR_MESSAGE_URGENT = "messageUrgent";
319     
320     /**
321      * Text of message subject
322      */

323     public static final String JavaDoc EVENT_ATTR_MESSAGE_SUBJECT = "messageSubject";
324
325     /**
326      * Property profile name.
327      */

328     public static final String JavaDoc EVENT_ATTR_PROPERTY_PROFILE_NAME = "profileName";
329     
330     /**
331      * Property class
332      */

333     public static final String JavaDoc EVENT_ATTR_PROPERTY_CLASS = "propertyClass";
334
335     /**
336      * Property profile description
337      */

338     public static final String JavaDoc EVENT_ATTR_PROPERTY_PROFILE_DESCRIPTION = "profileDescription";
339     
340     /**
341      * The authentication schemes modules.
342      */

343     public static final String JavaDoc EVENT_ATTR_AUTHENTICATION_MODULE = "authenticationModule";
344
345     
346 }
347
Popular Tags