-
Notifications
You must be signed in to change notification settings - Fork 11
/
apache-fortress-demo-load-policy.xml
558 lines (504 loc) · 58.3 KB
/
apache-fortress-demo-load-policy.xml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ © 2023 iamfortress.net
-->
<project basedir="." default="all" name="Apache Fortress Demo RBAC Policy">
<taskdef classname="org.apache.directory.fortress.core.ant.FortressAntTask" name="FortressAdmin" >
<classpath path="${java.class.path}"/>
</taskdef>
<target name="all">
<FortressAdmin>
<deluser>
<user userId="superuser"/>
<user userId="poweruser"/>
<user userId="user1"/>
<user userId="user1_123"/>
<user userId="user1_456"/>
<user userId="user1_789"/>
<user userId="user2"/>
<user userId="user2_123"/>
<user userId="user2_456"/>
<user userId="user2_789"/>
<user userId="user3"/>
<user userId="user3_123"/>
<user userId="user3_456"/>
<user userId="user3_789"/>
<user userId="user123"/>
<user userId="user456"/>
<user userId="user789"/>
</deluser>
<adduser>
<user userId="superuser" password="password" description="Apache Fortress Demo SuperUser" ou="Demo2Users" cn="test2" sn="superuser" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="poweruser" password="password" description="Apache Fortress Demo PowerUser" ou="Demo2Users" cn="test2" sn="poweruser" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user1" password="password" description="Apache Fortress Demo User1" ou="Demo2Users" cn="test2" sn="user1" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user1_123" password="password" description="Apache Fortress Demo User1 Customer 123" ou="Demo2Users" cn="test2" sn="user1_123" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user1_456" password="password" description="Apache Fortress Demo User1 Customer 456" ou="Demo2Users" cn="test2" sn="user1_456" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user1_789" password="password" description="Apache Fortress Demo User1 Customer 123" ou="Demo2Users" cn="test2" sn="user1_789" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user2" password="password" description="Apache Fortress Demo User2" ou="Demo2Users" cn="test2" sn="user2" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user2_123" password="password" description="Apache Fortress Demo User2 Customer 123" ou="Demo2Users" cn="test2" sn="user2_123" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user2_456" password="password" description="Apache Fortress Demo User2 Customer 456" ou="Demo2Users" cn="test2" sn="user2_456" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user2_789" password="password" description="Apache Fortress Demo User2 Customer 789" ou="Demo2Users" cn="test2" sn="user2_789" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user3" password="password" description="Apache Fortress Demo User3" ou="Demo2Users" cn="test2" sn="user3" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user3_123" password="password" description="Apache Fortress Demo User3 Customer 123" ou="Demo2Users" cn="test2" sn="user3_123" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user3_456" password="password" description="Apache Fortress Demo User3 Customer 456" ou="Demo2Users" cn="test2" sn="user3_456" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user3_789" password="password" description="Apache Fortress Demo User3 Customer 789" ou="Demo2Users" cn="test2" sn="user3_789" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user123" password="password" description="Apache Fortress Demo User123 Access all Pages for Customer 123" ou="Demo2Users" cn="test2" sn="user123" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user456" password="password" description="Apache Fortress Demo User456 Access all Pages for Customer 456" ou="Demo2Users" cn="test2" sn="user456" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
<user userId="user789" password="password" description="Apache Fortress Demo User789 Access all Pages for Customer 789" ou="Demo2Users" cn="test2" sn="user789" beginTime="0000" endTime="0000" beginDate="20090101" endDate="20990101" beginLockDate="none" endLockDate="none" dayMask="1234567" timeout="0" photo="p27.jpeg" />
</adduser>
<adduserrole>
<!-- Superuser access to all pages, all data, no DSD constraints -->
<userrole userId="superuser" name="ROLE_DEMO2_SUPER_USER" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- Poweruser access to all pages, all date, with DSD constraints -->
<userrole userId="poweruser" name="DEMO2_ALL_PAGES" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE1_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE1_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE1_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE2_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE2_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE2_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE3_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE3_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="poweruser" name="PAGE3_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User1 Access to all Customers Page1 only, with DSD constraints -->
<userrole userId="user1" name="ROLE_PAGE1" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user1" name="PAGE1_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user1" name="PAGE1_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user1" name="PAGE1_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User1_123 Access to Page 1, Customer 123 only -->
<userrole userId="user1_123" name="ROLE_PAGE1" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user1_123" name="PAGE1_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User1_456 Access to Page 1, Customer 456 only -->
<userrole userId="user1_456" name="ROLE_PAGE1" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user1_456" name="PAGE1_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User1_789 Access to Page 1, Customer 789 only -->
<userrole userId="user1_789" name="ROLE_PAGE1" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user1_789" name="PAGE1_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User2 Access to all Customers Page2 only, with DSD constraints -->
<userrole userId="user2" name="ROLE_PAGE2" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user2" name="PAGE2_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user2" name="PAGE2_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user2" name="PAGE2_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User2_123 Access to Page 2, Customer 123 only -->
<userrole userId="user2_123" name="ROLE_PAGE2" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user2_123" name="PAGE2_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User2_456 Access to Page 2, Customer 456 only -->
<userrole userId="user2_456" name="ROLE_PAGE2" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user2_456" name="PAGE2_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User2_789 Access to Page 2, Customer 789 only -->
<userrole userId="user2_789" name="ROLE_PAGE2" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user2_789" name="PAGE2_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User3 Access to all Customers Page3 only, with DSD constraints -->
<userrole userId="user3" name="ROLE_PAGE3" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user3" name="PAGE3_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user3" name="PAGE3_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user3" name="PAGE3_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User3_123 Access to Page 3, Customer 123 only -->
<userrole userId="user3_123" name="ROLE_PAGE3" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user3_123" name="PAGE3_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User3_456 Access to Page 3, Customer 456 only -->
<userrole userId="user3_456" name="ROLE_PAGE3" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user3_456" name="PAGE3_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User3_789 Access to Page 3, Customer 789 only -->
<userrole userId="user3_789" name="ROLE_PAGE3" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user3_789" name="PAGE3_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User123 Access to all pages, Customer 123 only, with DSD constraints -->
<userrole userId="user123" name="ROLE_PAGE1" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user123" name="ROLE_PAGE2" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user123" name="ROLE_PAGE3" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user123" name="PAGE1_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user123" name="PAGE2_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user123" name="PAGE3_123" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User456 Access to all pages, Customer 456 only, with DSD constraints -->
<userrole userId="user456" name="ROLE_PAGE1" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user456" name="ROLE_PAGE2" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user456" name="ROLE_PAGE3" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user456" name="PAGE1_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user456" name="PAGE2_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user456" name="PAGE3_456" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<!-- User789 Access to all pages, Customer 789 only, with DSD constraints -->
<userrole userId="user789" name="ROLE_PAGE1" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user789" name="ROLE_PAGE2" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user789" name="ROLE_PAGE3" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user789" name="PAGE1_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user789" name="PAGE2_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
<userrole userId="user789" name="PAGE3_789" beginTime="0000" endTime="0000" beginDate="none" endDate="none" beginLockDate="none" endLockDate="none" dayMask="all" timeout="0"/>
</adduserrole>
<delrole>
<role name="DEMO2_USER"/>
<role name="ROLE_DEMO2_SUPER_USER"/>
<role name="DEMO2_ALL_PAGES"/>
<role name="ROLE_PAGE1"/>
<role name="PAGE1_123"/>
<role name="PAGE1_456"/>
<role name="PAGE1_789"/>
<role name="ROLE_PAGE2"/>
<role name="PAGE2_123"/>
<role name="PAGE2_456"/>
<role name="PAGE2_789"/>
<role name="ROLE_PAGE3"/>
<role name="PAGE3_123"/>
<role name="PAGE3_456"/>
<role name="PAGE3_789"/>
</delrole>
<addrole>
<role name="DEMO2_USER" description="Grants User login access to this Web application"/>
<role name="ROLE_DEMO2_SUPER_USER" description="Grants User access to all three Pages"/>
<role name="DEMO2_ALL_PAGES" description="Grants User ability to switch between Pages"/>
<role name="ROLE_PAGE1" description="Grants User Access to Page 1 and its Buttons"/>
<role name="PAGE1_123" description="Grants User Access to Page 1 and its Buttons for Customer 123"/>
<role name="PAGE1_456" description="Grants User Access to Page 1 and its Buttons for Customer 456"/>
<role name="PAGE1_789" description="Grants User Access to Page 1 and its Buttons for Customer 789"/>
<role name="ROLE_PAGE2" description="Grants User Access to Page 2 and its Buttons"/>
<role name="PAGE2_123" description="Grants User Access to Page 2 and its Buttons for Customer 123"/>
<role name="PAGE2_456" description="Grants User Access to Page 2 and its Buttons for Customer 456"/>
<role name="PAGE2_789" description="Grants User Access to Page 2 and its Buttons for Customer 789"/>
<role name="ROLE_PAGE3" description="Grants User Access to Page 3 and its Buttons"/>
<role name="PAGE3_123" description="Grants User Access to Page 3 and its Buttons for Customer 123"/>
<role name="PAGE3_456" description="Grants User Access to Page 3 and its Buttons for Customer 456"/>
<role name="PAGE3_789" description="Grants User Access to Page 3 and its Buttons for Customer 789"/>
</addrole>
<addroleinheritance>
<relationship child="ROLE_DEMO2_SUPER_USER" parent="DEMO2_USER"/>
<relationship child="ROLE_DEMO2_SUPER_USER" parent="DEMO2_ALL_PAGES"/>
<relationship child="ROLE_PAGE1" parent="DEMO2_USER"/>
<relationship child="ROLE_PAGE2" parent="DEMO2_USER"/>
<relationship child="ROLE_PAGE3" parent="DEMO2_USER"/>
<relationship child="DEMO2_ALL_PAGES" parent="ROLE_PAGE1"/>
<relationship child="DEMO2_ALL_PAGES" parent="ROLE_PAGE2"/>
<relationship child="DEMO2_ALL_PAGES" parent="ROLE_PAGE3"/>
</addroleinheritance>
<addpermgrant>
<permgrant objName="com.mycompany.MyBasePage" opName="addActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="com.mycompany.MyBasePage" opName="dropActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="com.mycompany.MyBasePage" opName="addActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="com.mycompany.MyBasePage" opName="dropActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="com.mycompany.MyBasePage" opName="addActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="com.mycompany.MyBasePage" opName="dropActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="ROLE_PAGE1" opName="addActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="ROLE_PAGE1" opName="dropActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="ROLE_PAGE2" opName="addActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="ROLE_PAGE2" opName="dropActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="ROLE_PAGE3" opName="addActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="ROLE_PAGE3" opName="dropActiveRole" roleNm="DEMO2_ALL_PAGES"/>
<permgrant objName="com.mycompany.MyBasePage" opName="addActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="com.mycompany.MyBasePage" opName="dropActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="com.mycompany.MyBasePage" opName="addActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="com.mycompany.MyBasePage" opName="dropActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="com.mycompany.MyBasePage" opName="addActiveRole" roleNm="ROLE_PAGE3"/>
<permgrant objName="com.mycompany.MyBasePage" opName="dropActiveRole" roleNm="ROLE_PAGE3"/>
<permgrant objName="com.mycompany.Page1" opName="Add" objId="123" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Add" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Add" objId="456" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Add" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Add" objId="789" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Add" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Update" objId="123" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Update" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Update" objId="456" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Update" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Update" objId="789" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Update" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" objId="123" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" objId="456" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" objId="789" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Search" objId="123" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Search" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Search" objId="456" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Search" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Search" objId="789" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Search" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Read" objId="123" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Read" roleNm="PAGE1_123"/>
<permgrant objName="com.mycompany.Page1" opName="Read" objId="456" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Read" roleNm="PAGE1_456"/>
<permgrant objName="com.mycompany.Page1" opName="Read" objId="789" roleNm="PAGE1_789"/>
<permgrant objName="com.mycompany.Page1" opName="Read" roleNm="PAGE1_789"/>
<permgrant objName="PAGE1_123" opName="addActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="PAGE1_456" opName="addActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="PAGE1_789" opName="addActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="PAGE1_123" opName="dropActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="PAGE1_456" opName="dropActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="PAGE1_789" opName="dropActiveRole" roleNm="ROLE_PAGE1"/>
<permgrant objName="com.mycompany.Page2" opName="Add" objId="123" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Add" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Add" objId="456" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Add" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Add" objId="789" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Add" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Update" objId="123" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Update" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Update" objId="456" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Update" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Update" objId="789" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Update" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" objId="123" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" objId="456" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" objId="789" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Search" objId="123" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Search" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Search" objId="456" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Search" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Search" objId="789" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Search" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Read" objId="123" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Read" roleNm="PAGE2_123"/>
<permgrant objName="com.mycompany.Page2" opName="Read" objId="456" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Read" roleNm="PAGE2_456"/>
<permgrant objName="com.mycompany.Page2" opName="Read" objId="789" roleNm="PAGE2_789"/>
<permgrant objName="com.mycompany.Page2" opName="Read" roleNm="PAGE2_789"/>
<permgrant objName="PAGE2_123" opName="addActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="PAGE2_456" opName="addActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="PAGE2_789" opName="addActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="PAGE2_123" opName="dropActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="PAGE2_456" opName="dropActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="PAGE2_789" opName="dropActiveRole" roleNm="ROLE_PAGE2"/>
<permgrant objName="com.mycompany.Page3" opName="Add" objId="123" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Add" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Add" objId="456" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Add" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Add" objId="789" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Add" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Update" objId="123" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Update" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Update" objId="456" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Update" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Update" objId="789" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Update" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" objId="123" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" objId="456" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" objId="789" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Search" objId="123" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Search" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Search" objId="456" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Search" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Search" objId="789" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Search" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Read" objId="123" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Read" roleNm="PAGE3_123"/>
<permgrant objName="com.mycompany.Page3" opName="Read" objId="456" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Read" roleNm="PAGE3_456"/>
<permgrant objName="com.mycompany.Page3" opName="Read" objId="789" roleNm="PAGE3_789"/>
<permgrant objName="com.mycompany.Page3" opName="Read" roleNm="PAGE3_789"/>
<permgrant objName="PAGE3_123" opName="addActiveRole" roleNm="ROLE_PAGE3"/>
<permgrant objName="PAGE3_456" opName="addActiveRole" roleNm="ROLE_PAGE3"/>
<permgrant objName="PAGE3_789" opName="addActiveRole" roleNm="ROLE_PAGE3"/>
<permgrant objName="PAGE3_123" opName="dropActiveRole" roleNm="ROLE_PAGE3"/>
<permgrant objName="PAGE3_456" opName="dropActiveRole" roleNm="ROLE_PAGE3"/>
<permgrant objName="PAGE3_789" opName="dropActiveRole" roleNm="ROLE_PAGE3"/>
<!-- Super User has all permissions -->
<permgrant objName="com.mycompany.Page1" opName="Add" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Add" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Add" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Add" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Update" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Update" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Update" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Update" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Delete" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Search" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Search" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Search" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Search" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Read" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Read" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Read" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page1" opName="Read" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Add" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Add" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Add" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Add" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Update" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Update" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Update" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Update" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Delete" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Search" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Search" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Search" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Search" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Read" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Read" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Read" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page2" opName="Read" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Add" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Add" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Add" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Add" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Update" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Update" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Update" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Update" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Delete" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Search" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Search" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Search" objId="789" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Search" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Read" objId="123" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Read" objId="456" roleNm="ROLE_DEMO2_SUPER_USER"/>
<permgrant objName="com.mycompany.Page3" opName="Read" objId="789" roleNm="ROLE_DEMO2_SUPER_USERs"/>
<permgrant objName="com.mycompany.Page3" opName="Read" roleNm="ROLE_DEMO2_SUPER_USERs"/>
</addpermgrant>
<delpermobj>
<permobj objName="com.mycompany.MyBasePage"/>
<permobj objName="com.mycompany.Page1"/>
<permobj objName="com.mycompany.Page2"/>
<permobj objName="com.mycompany.Page3"/>
<permobj objName="org.apache.directory.fortress.core.rbac.AccessMgrImpl"/>
<permobj objName="ROLE_PAGE1" />
<permobj objName="PAGE1_123" />
<permobj objName="PAGE1_456" />
<permobj objName="PAGE1_789" />
<permobj objName="ROLE_PAGE2"/>
<permobj objName="PAGE2_123"/>
<permobj objName="PAGE2_456"/>
<permobj objName="PAGE2_789"/>
<permobj objName="ROLE_PAGE3"/>
<permobj objName="PAGE3_123"/>
<permobj objName="PAGE3_456"/>
<permobj objName="PAGE3_789"/>
</delpermobj>
<addpermobj>
<permobj objName="com.mycompany.MyBasePage" description="Fortress Demo2 BasePage" ou="Demo2Perms" type="Page"/>
<permobj objName="com.mycompany.Page1" description="Fortress Demo2 Page 1" ou="Demo2Perms" type="Page"/>
<permobj objName="com.mycompany.Page2" description="Fortress Demo2 Page 2" ou="Demo2Perms" type="Page"/>
<permobj objName="com.mycompany.Page3" description="Fortress Demo2 Page 3" ou="Demo2Perms" type="Page"/>
<permobj objName="org.apache.directory.fortress.core.rbac.AccessMgrImpl" description="Used to perform role activation functions" ou="Demo2Perms" type="Page"/>
<permobj objName="ROLE_PAGE1" description="Used to perform ROLE_PAGE1 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE1_123" description="Used to perform PAGE1_123 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE1_456" description="Used to perform PAGE1_456 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE1_789" description="Used to perform PAGE1_789 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="ROLE_PAGE2" description="Used to perform ROLE_PAGE12 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE2_123" description="Used to perform PAGE2_123 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE2_456" description="Used to perform PAGE2_456 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE2_789" description="Used to perform PAGE2_789 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="ROLE_PAGE3" description="Used to perform ROLE_PAGE3 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE3_123" description="Used to perform PAGE3_123 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE3_456" description="Used to perform PAGE3_456 role activation functions" ou="Demo2Perms" type="Button"/>
<permobj objName="PAGE3_789" description="Used to perform PAGE3_789 role activation functions" ou="Demo2Perms" type="Button"/>
</addpermobj>
<addpermop>
<permop objName="com.mycompany.MyBasePage" opName="addActiveRole" type="Button" description="Permission for com.mycompany.MyBasePage.addActiveRole"/>
<permop objName="com.mycompany.MyBasePage" opName="dropActiveRole" type="Button" description="Permission for com.mycompany.MyBasePage.dropActiveRole"/>
<permop objName="ROLE_PAGE1" opName="addActiveRole" type="Button" description="Permission for ROLE_PAGE1.addActiveRole"/>
<permop objName="ROLE_PAGE1" opName="dropActiveRole" type="Button" description="Permission for ROLE_PAGE1.dropActiveRole"/>
<permop objName="ROLE_PAGE2" opName="addActiveRole" type="Button" description="Permission for ROLE_PAGE2.addActiveRole"/>
<permop objName="ROLE_PAGE2" opName="dropActiveRole" type="Button" description="Permission for ROLE_PAGE2.dropActiveRole"/>
<permop objName="ROLE_PAGE3" opName="addActiveRole" type="Button" description="Permission for ROLE_PAGE3.addActiveRole"/>
<permop objName="ROLE_PAGE3" opName="dropActiveRole" type="Button" description="Permission for ROLE_PAGE3.dropActiveRole"/>
<permop objName="org.apache.directory.fortress.core.rbac.AccessMgrImpl" opName="addActiveRole" type="Button" description="Permission for AccessMgrImpl.addActiveRole"/>
<permop objName="org.apache.directory.fortress.core.rbac.AccessMgrImpl" opName="dropActiveRole" type="Button" description="Permission for AccessMgrImpl.dropActiveRole"/>
<permop objName="com.mycompany.Page1" opName="Add" objId="123" description="Permission for page1.add on Customer record 123"/>
<permop objName="com.mycompany.Page1" opName="Add" objId="456" description="Permission for page1.add on Customer record 456"/>
<permop objName="com.mycompany.Page1" opName="Add" objId="789" description="Permission for page1.add on Customer record 789"/>
<permop objName="com.mycompany.Page1" opName="Add" description="Permission for page1.add"/>
<permop objName="com.mycompany.Page1" opName="Update" objId="123" description="Permission for page1.update on Customer record 123"/>
<permop objName="com.mycompany.Page1" opName="Update" objId="456" description="Permission for page1.update on Customer record 456"/>
<permop objName="com.mycompany.Page1" opName="Update" objId="789" description="Permission for page1.update on Customer record 789"/>
<permop objName="com.mycompany.Page1" opName="Update" description="Permission for page1.update"/>
<permop objName="com.mycompany.Page1" opName="Delete" objId="123" description="Permission for page1.delete on Customer record 123"/>
<permop objName="com.mycompany.Page1" opName="Delete" objId="456" description="Permission for page1.delete on Customer record 456"/>
<permop objName="com.mycompany.Page1" opName="Delete" objId="789" description="Permission for page1.delete on Customer record 789"/>
<permop objName="com.mycompany.Page1" opName="Delete" description="Permission for page1.delete on Customer record 789"/>
<permop objName="com.mycompany.Page1" opName="Search" objId="123" description="Permission for page1.search on Customer record 123"/>
<permop objName="com.mycompany.Page1" opName="Search" objId="456" description="Permission for page1.search on Customer record 456"/>
<permop objName="com.mycompany.Page1" opName="Search" objId="789" description="Permission for page1.search on Customer record 789"/>
<permop objName="com.mycompany.Page1" opName="Search" description="Permission for page1.search"/>
<permop objName="com.mycompany.Page1" opName="Read" objId="123" description="Permission for page1.read on Customer record 123"/>
<permop objName="com.mycompany.Page1" opName="Read" objId="456" description="Permission for page1.read on Customer record 456"/>
<permop objName="com.mycompany.Page1" opName="Read" objId="789" description="Permission for page1.read on Customer record 789"/>
<permop objName="com.mycompany.Page1" opName="Read" description="Permission for page1.read"/>
<permop objName="PAGE1_123" opName="addActiveRole" type="Button" description="Permission for PAGE1_123.addActiveRole"/>
<permop objName="PAGE1_456" opName="addActiveRole" type="Button" description="Permission for PAGE1_456.addActiveRole"/>
<permop objName="PAGE1_789" opName="addActiveRole" type="Button" description="Permission for PAGE1_789.addActiveRole"/>
<permop objName="PAGE1_123" opName="dropActiveRole" type="Button" description="Permission for PAGE1_123.dropActiveRole"/>
<permop objName="PAGE1_456" opName="dropActiveRole" type="Button" description="Permission for PAGE1_456.dropActiveRole"/>
<permop objName="PAGE1_789" opName="dropActiveRole" type="Button" description="Permission for PAGE1_789.dropActiveRole"/>
<permop objName="com.mycompany.Page2" opName="Add" objId="123" description="Permission for page2.add on Customer record 123"/>
<permop objName="com.mycompany.Page2" opName="Add" objId="456" description="Permission for page2.add on Customer record 456"/>
<permop objName="com.mycompany.Page2" opName="Add" objId="789" description="Permission for page2.add on Customer record 789"/>
<permop objName="com.mycompany.Page2" opName="Add" description="Permission for page2.add"/>
<permop objName="com.mycompany.Page2" opName="Update" objId="123" description="Permission for page1.update on Customer record 123"/>
<permop objName="com.mycompany.Page2" opName="Update" objId="456" description="Permission for page1.update on Customer record 456"/>
<permop objName="com.mycompany.Page2" opName="Update" objId="789" description="Permission for page1.update on Customer record 789"/>
<permop objName="com.mycompany.Page2" opName="Update" description="Permission for page1.update"/>
<permop objName="com.mycompany.Page2" opName="Delete" objId="123" description="Permission for page2.delete on Customer record 123"/>
<permop objName="com.mycompany.Page2" opName="Delete" objId="456" description="Permission for page2.delete on Customer record 456"/>
<permop objName="com.mycompany.Page2" opName="Delete" objId="789" description="Permission for page2.delete on Customer record 789"/>
<permop objName="com.mycompany.Page2" opName="Delete" description="Permission for page2.delete"/>
<permop objName="com.mycompany.Page2" opName="Search" objId="123" description="Permission for page2.search on Customer record 123"/>
<permop objName="com.mycompany.Page2" opName="Search" objId="456" description="Permission for page2.search on Customer record 456"/>
<permop objName="com.mycompany.Page2" opName="Search" objId="789" description="Permission for page2.search on Customer record 789"/>
<permop objName="com.mycompany.Page2" opName="Search" description="Permission for page2.search"/>
<permop objName="com.mycompany.Page2" opName="Read" objId="123" description="Permission for page2.read on Customer record 123"/>
<permop objName="com.mycompany.Page2" opName="Read" objId="456" description="Permission for page2.read on Customer record 456"/>
<permop objName="com.mycompany.Page2" opName="Read" objId="789" description="Permission for page2.read on Customer record 789"/>
<permop objName="com.mycompany.Page2" opName="Read" description="Permission for page2.read"/>
<permop objName="PAGE2_123" opName="addActiveRole" type="Button" description="Permission for PAGE2_123.addActiveRole"/>
<permop objName="PAGE2_456" opName="addActiveRole" type="Button" description="Permission for PAGE2_456.addActiveRole"/>
<permop objName="PAGE2_789" opName="addActiveRole" type="Button" description="Permission for PAGE2_789.addActiveRole"/>
<permop objName="PAGE2_123" opName="dropActiveRole" type="Button" description="Permission for PAGE2_123.dropActiveRole"/>
<permop objName="PAGE2_456" opName="dropActiveRole" type="Button" description="Permission for PAGE2_456.dropActiveRole"/>
<permop objName="PAGE2_789" opName="dropActiveRole" type="Button" description="Permission for PAGE2_789.dropActiveRole"/>
<permop objName="com.mycompany.Page3" opName="Add" objId="123" description="Permission for page3.add on Customer record 123"/>
<permop objName="com.mycompany.Page3" opName="Add" objId="456" description="Permission for page3.add on Customer record 456"/>
<permop objName="com.mycompany.Page3" opName="Add" objId="789" description="Permission for page3.add on Customer record 789"/>
<permop objName="com.mycompany.Page3" opName="Add" description="Permission for page3.add"/>
<permop objName="com.mycompany.Page3" opName="Update" objId="123" description="Permission for page3.update on Customer record 123"/>
<permop objName="com.mycompany.Page3" opName="Update" objId="456" description="Permission for page3.update on Customer record 456"/>
<permop objName="com.mycompany.Page3" opName="Update" objId="789" description="Permission for page3.update on Customer record 789"/>
<permop objName="com.mycompany.Page3" opName="Update" description="Permission for page3.update"/>
<permop objName="com.mycompany.Page3" opName="Delete" objId="123" description="Permission for page3.delete on Customer record 123"/>
<permop objName="com.mycompany.Page3" opName="Delete" objId="456" description="Permission for page3.delete on Customer record 456"/>
<permop objName="com.mycompany.Page3" opName="Delete" objId="789" description="Permission for page3.delete on Customer record 789"/>
<permop objName="com.mycompany.Page3" opName="Delete" description="Permission for page3.delete"/>
<permop objName="com.mycompany.Page3" opName="Search" objId="123" description="Permission for page3.search on Customer record 123"/>
<permop objName="com.mycompany.Page3" opName="Search" objId="456" description="Permission for page3.search on Customer record 456"/>
<permop objName="com.mycompany.Page3" opName="Search" objId="789" description="Permission for page3.search on Customer record 789"/>
<permop objName="com.mycompany.Page3" opName="Search" description="Permission for page3.search"/>
<permop objName="com.mycompany.Page3" opName="Read" objId="123" description="Permission for page3.read on Customer record 123"/>
<permop objName="com.mycompany.Page3" opName="Read" objId="456" description="Permission for page3.read on Customer record 456"/>
<permop objName="com.mycompany.Page3" opName="Read" objId="789" description="Permission for page3.read on Customer record 789"/>
<permop objName="com.mycompany.Page3" opName="Read" description="Permission for page3.read"/>
<permop objName="PAGE3_123" opName="addActiveRole" type="Button" description="Permission for PAGE3_123.addActiveRole"/>
<permop objName="PAGE3_456" opName="addActiveRole" type="Button" description="Permission for PAGE3_456.addActiveRole"/>
<permop objName="PAGE3_789" opName="addActiveRole" type="Button" description="Permission for PAGE3_789.addActiveRole"/>
<permop objName="PAGE3_123" opName="dropActiveRole" type="Button" description="Permission for PAGE3_123.dropActiveRole"/>
<permop objName="PAGE3_456" opName="dropActiveRole" type="Button" description="Permission for PAGE3_456.dropActiveRole"/>
<permop objName="PAGE3_789" opName="dropActiveRole" type="Button" description="Permission for PAGE3_789.dropActiveRole"/>
</addpermop>
<delsdset>
<sdset name="Demo2DSD" setType="DYNAMIC"/>
</delsdset>
<addsdset>
<sdset name="Demo2DSD" description="ROLE_TEST DATA roles are mutually exclusive" cardinality="2" setType="DYNAMIC" setmembers="PAGE1_123,PAGE1_456,PAGE1_789,PAGE2_123,PAGE2_456,PAGE2_789,PAGE3_123,PAGE3_456,PAGE3_789"/>
</addsdset>
<delorgunit>
<orgunit name="Demo2Perms" typeName="PERM"/>
<orgunit name="Demo2Users" typeName="USER"/>
</delorgunit>
<addorgunit>
<orgunit name="Demo2Perms" typeName="PERM" description="Fortress Demo2 Test Permissions"/>
<orgunit name="Demo2Users" typeName="USER" description="Fortress Demo2 Test Users"/>
</addorgunit>
</FortressAdmin>
</target>
</project>