Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1030 | dev | 1 | <?xml version='1.0' encoding='utf-8'?> |
2 | |||
3 | <!-- |
||
4 | HostAdmiral configuration file. |
||
5 | There are two files - one is default, the second one is user-defined. |
||
6 | Both files are merged with user-definition preference. |
||
1041 | dev | 7 | |
8 | DO NOT EDIT THIS FILE |
||
9 | Make all changes to hostadmiral_config.xml |
||
1030 | dev | 10 | --> |
11 | <hostadmiral> |
||
12 | <!-- |
||
13 | Version of this config. By changing major number the config must be converted to new |
||
14 | one. Minor changes allow old file using. |
||
15 | --> |
||
1047 | dev | 16 | <version major="1" minor="1" /> |
1030 | dev | 17 | |
18 | <!-- |
||
19 | Which data source is used to store internal information. |
||
20 | --> |
||
21 | <datasource> |
||
22 | <!-- Data source type. Only "hibernate" is supported at the moment --> |
||
23 | <type>hibernate</type> |
||
24 | |||
25 | <!-- Hibernate and database properties --> |
||
26 | <settings> |
||
27 | <!-- DB driver --> |
||
28 | <driver>org.postgresql.Driver</driver> |
||
29 | |||
30 | <!-- DB user --> |
||
31 | <username></username> |
||
32 | |||
33 | <!-- DB password --> |
||
34 | <password></password> |
||
35 | |||
36 | <!-- DB URL: type, host and database name, format depends on DB driver --> |
||
37 | <url>jdbc:postgresql://localhost/hostadmiral</url> |
||
38 | |||
39 | <!-- DB dialect, must conform to DB driver --> |
||
40 | <dialect>net.sf.hibernate.dialect.PostgreSQLDialect</dialect> |
||
41 | </settings> |
||
42 | </datasource> |
||
43 | |||
44 | <!-- |
||
45 | Classes which must be initialized at program startup. |
||
46 | If class implements ak.hostadmiral.util.ConfigInit then the method init will be called, |
||
47 | only such classes can have init params. Otherwise the class is just called by "forName" |
||
48 | and can use static initializers. |
||
49 | --> |
||
1062 | dev | 50 | <initializations> |
51 | <!-- Utils --> |
||
52 | <initialization> |
||
53 | <class>ak.hostadmiral.util.ResourceManager</class> |
||
54 | </initialization> |
||
1030 | dev | 55 | <!-- Core classes --> |
56 | <initialization> |
||
57 | <class>ak.hostadmiral.core.model.UserManager</class> |
||
1041 | dev | 58 | <init-param> |
59 | <param-name>store</param-name> |
||
60 | <param-value>ak.hostadmiral.core.model.store.hibernate.UserHibernate</param-value> |
||
61 | </init-param> |
||
1045 | dev | 62 | <init-param> |
1046 | dev | 63 | <param-name>passwordStore</param-name> |
64 | <param-value>ak.hostadmiral.core.model.PasswordStoreMd5</param-value> |
||
65 | <param-value>ak.hostadmiral.core.model.PasswordStoreCrypt</param-value> |
||
66 | <param-value>ak.hostadmiral.core.model.PasswordStorePlain</param-value> |
||
67 | </init-param> |
||
1030 | dev | 68 | </initialization> |
69 | <initialization> |
||
70 | <class>ak.hostadmiral.core.model.SystemUserManager</class> |
||
1041 | dev | 71 | <init-param> |
72 | <param-name>store</param-name> |
||
73 | <param-value>ak.hostadmiral.core.model.store.hibernate.SystemUserHibernate</param-value> |
||
74 | </init-param> |
||
1030 | dev | 75 | </initialization> |
76 | <initialization> |
||
77 | <class>ak.hostadmiral.core.model.InetDomainManager</class> |
||
1041 | dev | 78 | <init-param> |
79 | <param-name>store</param-name> |
||
80 | <param-value>ak.hostadmiral.core.model.store.hibernate.InetDomainHibernate</param-value> |
||
81 | </init-param> |
||
1030 | dev | 82 | </initialization> |
83 | <initialization> |
||
84 | <class>ak.hostadmiral.core.model.MailboxManager</class> |
||
1041 | dev | 85 | <init-param> |
86 | <param-name>store</param-name> |
||
87 | <param-value>ak.hostadmiral.core.model.store.hibernate.MailboxHibernate</param-value> |
||
88 | </init-param> |
||
1046 | dev | 89 | <init-param> |
90 | <param-name>passwordStore</param-name> |
||
91 | <param-value>ak.hostadmiral.core.model.PasswordStoreMd5</param-value> |
||
92 | <param-value>ak.hostadmiral.core.model.PasswordStoreCrypt</param-value> |
||
93 | <param-value>ak.hostadmiral.core.model.PasswordStorePlain</param-value> |
||
94 | </init-param> |
||
1030 | dev | 95 | </initialization> |
96 | <initialization> |
||
97 | <class>ak.hostadmiral.core.model.MailAliasManager</class> |
||
1041 | dev | 98 | <init-param> |
99 | <param-name>store</param-name> |
||
100 | <param-value>ak.hostadmiral.core.model.store.hibernate.MailAliasHibernate</param-value> |
||
101 | </init-param> |
||
1030 | dev | 102 | </initialization> |
103 | <initialization> |
||
104 | <class>ak.hostadmiral.core.model.MailAliasDestinationManager</class> |
||
1041 | dev | 105 | <init-param> |
106 | <param-name>store</param-name> |
||
107 | <param-value>ak.hostadmiral.core.model.store.hibernate.MailAliasDestinationHibernate</param-value> |
||
108 | </init-param> |
||
1062 | dev | 109 | </initialization> |
1030 | dev | 110 | </initializations> |
111 | </hostadmiral> |