Subversion Repositories general

Rev

Rev 1062 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?xml version='1.0' encoding='utf-8'?>

<!--
        HostAdmiral configuration file.
        There are two files - one is default, the second one is user-defined.
        Both files are merged with user-definition preference.

        DO NOT EDIT THIS FILE
        Make all changes to hostadmiral_config.xml
-->
<hostadmiral>
        <!--
                Version of this config. By changing major number the config must be converted to new
                one. Minor changes allow old file using.
        -->
        <version major="1" minor="1" />

    <!--
        Which data source is used to store internal information.
    -->
        <datasource>
                <!-- Data source type. Only "hibernate" is supported at the moment -->
                <type>hibernate</type>

                <!-- Hibernate and database properties -->
                <settings>
                        <!-- DB driver -->
                        <driver>org.postgresql.Driver</driver>

                        <!-- DB user -->
                        <username></username>

                        <!-- DB password -->
                        <password></password>

                        <!-- DB URL: type, host and database name, format depends on DB driver -->
                        <url>jdbc:postgresql://localhost/hostadmiral</url>

                        <!-- DB dialect, must conform to DB driver -->
                        <dialect>net.sf.hibernate.dialect.PostgreSQLDialect</dialect>
                </settings>
    </datasource>

        <!--
                Classes which must be initialized at program startup.
                If class implements ak.hostadmiral.util.ConfigInit then the method init will be called,
                only such classes can have init params. Otherwise the class is just called by "forName"
                and can use static initializers.
        -->
    <initializations>
        <!-- Core classes -->
        <initialization>
                <class>ak.hostadmiral.core.model.UserManager</class>
                    <init-param>
                        <param-name>store</param-name>
                        <param-value>ak.hostadmiral.core.model.store.hibernate.UserHibernate</param-value>
                    </init-param>
                    <init-param>
                        <param-name>passwordStore</param-name>
                        <param-value>ak.hostadmiral.core.model.PasswordStoreMd5</param-value>
                        <param-value>ak.hostadmiral.core.model.PasswordStoreCrypt</param-value>
                        <param-value>ak.hostadmiral.core.model.PasswordStorePlain</param-value>
                    </init-param>
        </initialization>
        <initialization>
                <class>ak.hostadmiral.core.model.SystemUserManager</class>
                    <init-param>
                        <param-name>store</param-name>
                        <param-value>ak.hostadmiral.core.model.store.hibernate.SystemUserHibernate</param-value>
                    </init-param>
        </initialization>
        <initialization>
                <class>ak.hostadmiral.core.model.InetDomainManager</class>
                    <init-param>
                        <param-name>store</param-name>
                        <param-value>ak.hostadmiral.core.model.store.hibernate.InetDomainHibernate</param-value>
                    </init-param>
        </initialization>
        <initialization>
                <class>ak.hostadmiral.core.model.MailboxManager</class>
                    <init-param>
                        <param-name>store</param-name>
                        <param-value>ak.hostadmiral.core.model.store.hibernate.MailboxHibernate</param-value>
                    </init-param>
                    <init-param>
                        <param-name>passwordStore</param-name>
                        <param-value>ak.hostadmiral.core.model.PasswordStoreMd5</param-value>
                        <param-value>ak.hostadmiral.core.model.PasswordStoreCrypt</param-value>
                        <param-value>ak.hostadmiral.core.model.PasswordStorePlain</param-value>
                    </init-param>
        </initialization>
        <initialization>
                <class>ak.hostadmiral.core.model.MailAliasManager</class>
                    <init-param>
                        <param-name>store</param-name>
                        <param-value>ak.hostadmiral.core.model.store.hibernate.MailAliasHibernate</param-value>
                    </init-param>
        </initialization>
        <initialization>
                <class>ak.hostadmiral.core.model.MailAliasDestinationManager</class>
                    <init-param>
                        <param-name>store</param-name>
                        <param-value>ak.hostadmiral.core.model.store.hibernate.MailAliasDestinationHibernate</param-value>
                    </init-param>
        </initialization>
        <!-- Web classes -->
        <initialization>
                <class>ak.hostadmiral.core.action.UserUpdater</class>
        </initialization>
    </initializations>
</hostadmiral>