Can now parse the following expressions - a mix of bkeeping, xml and xpath:
[Bookkeeping.git] / xml / setup.aauthentication.xml
blob8d19fd71d3ffc41355c58801e6af8f95b13e4bde
1 <?xml version='1.0' encoding='UTF-8'?>
2 <system xmlns='com/interrupt/bookkeeping' 
3                 xmlns:users='com/interrupt/bookkeeping/users' 
4                 xmlns:bkell='com/interrupt/bookkeeping/cc/bkell' 
5                 xmlns:command='com/interrupt/bookkeeping/cc/bkell/command' 
6                 xmlns:interpret='com/interrupt/bookkeeping/interpret' 
7                 xmlns:aauth='com/interrupt/bookkeeping/cc/bkell/aauth' 
8                 id='main.system' > 
9         
10         
11         <aauth:aauthentication id='main.authentication' sessiontimeout="6000" >
12                 
13                 <users:groups id="aauth.groups" >
14                         <users:group id="webkell" name="Webkell" owner="root" >
15                                 <users:user id="root" />
16                         </users:group>
17                 </users:groups>
18                 
19                 
20                 <!-- actions that a user is allowed to do -->
21                 <users:users id="aauth.users" >
22                         
23                         <!-- this user has a default 10 minute session timeout period (1000 * 60 * 10 = 600'000 milliseconds) --> 
24                         <users:user id="root" username="root" password="password" logintimeout="600000" 
25                              accountLevel="FREE" defaultGroup='webkell' authenticated="" >
26                                 
27                                 <users:userSession id='' groupid='' userid='' >
28                                     <aauth:aauthentication />
29                                 </users:userSession>
30                                 
31                                 <aauth:allowedActions id="root.allowedActions" >
32                                         <command:command name='create' />
33                                         <command:command name='add' />
34                                         <command:command name='remove' />
35                                         <command:command name='reverse' />
36                                         <command:command name='find' />
37                                         <command:command name='load' />
38                                         <command:command name='list' />
39                                         <command:command name='print' />
40                                         <command:command name='commit' />
41                                         <command:command name='login' />
42                                         <command:command name='logout' />
43                                         <command:command name='exit' />
44                                 </aauth:allowedActions>
45                                 
46                                 <users:profileDetails id='user.details' >
47                                         <users:profileDetail name='first.name' value='' />
48                                         <users:profileDetail name='last.name' value='' />
49                                         <users:profileDetail name='email' value='' />
50                                         <users:profileDetail name='country' value='' />
51                                 </users:profileDetails>
52                                 
53                         </users:user>
54                 </users:users>
55                 
56         </aauth:aauthentication>
57         
58 </system>