3 * Copyright (C) 2013 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.config
;
12 import org
.apache
.lucene
.util
.Version
;
15 * @author a.kohlbecker
19 public class Configuration
{
22 * This should be set via the hibernate properties but at the time being it
23 * is quite complex to get <code>hibernate.search.lucene_version</code> from
24 * the configuration and to pass it to all classes which require this
25 * version As a preliminary and unobtrusive solution the luceneVersion is
26 * now provided by this.
28 * TODO A better solution for the future would be to provide all Lucene
29 * related instances of <code>LuceneSearch</code>, etc via a special
30 * factory. This factors would be a spring bean and thus could have access
31 * to the hibernate configuration. see #3369 (Lucene search factory or builder implemented)
34 @Deprecated // so we now it is not 100% save to use this
35 public static Version luceneVersion
= Version
.LUCENE_36
;
38 * Login name for the first user 'admin'
40 public static String adminLogin
= "admin";
43 * Default password for the first user 'admin'
45 public static String adminPassword
= "00000";