r2 - 26 Jun 2008 - 15:17:34 - RandyLetnessYou are here: OSAF >  Documentation Web  >  ServerBundleAdministrator > ServerOptions
Server options can be configured in cosmo.properties. In the default server bundle this file can be found at SNARF_HOME/etc/cosmo.properties. A full list of server configuration variables is documented in that file, and commonly used variables have been documented below.

Disabling signups

To disable anonymous user signups, set cosmo.service.account.disableSignups to true. New user account can still be created via the user administration console.

Account activation

To enable account activation, which requires new users to react to an email sent to their user account before they are able to authenticate with the server, set cosmo.service.account.requireActivation to true.

Out-of-the-box collections

To give new users a default collection at signup time, set cosmo.service.account.createOutOfBoxCollections to true.

Hibernate dialect

It is very important that when using any database other than the default embedded Derby database, to make sure the Hibernate dialect is set correctly. The dialect is set in cosmo.hibernate.dialect and there are examples for MySQL and Postgres commented out. To switch dialects, comment out the old value and uncomment the relevant value.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.