Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 238755 | Differences between
and this patch

Collapse All | Expand All

(-)src/main/java/tigase/conf/Configurable.java (-1 / +1 lines)
Lines 122-128 Link Here
122
	public static final String LIBRESOURCE_REPO_CLASS_PROP_VAL =
122
	public static final String LIBRESOURCE_REPO_CLASS_PROP_VAL =
123
		"tigase.db.jdbc.LibreSourceAuth";
123
		"tigase.db.jdbc.LibreSourceAuth";
124
124
125
	public static final String XML_REPO_URL_PROP_VAL = "user-repository.xml";
125
	public static final String XML_REPO_URL_PROP_VAL = "/var/lib/tigase/user-repository.xml";
126
	public static final String MYSQL_REPO_URL_PROP_VAL =
126
	public static final String MYSQL_REPO_URL_PROP_VAL =
127
		"jdbc:mysql://localhost/tigase?user=root&password=mypass";
127
		"jdbc:mysql://localhost/tigase?user=root&password=mypass";
128
	public static final String PGSQL_REPO_URL_PROP_VAL =
128
	public static final String PGSQL_REPO_URL_PROP_VAL =
(-)src/main/java/tigase/conf/Configurator.java (-1 / +1 lines)
Lines 328-334 Link Here
328
			"tigase.util.LogFormatter");
328
			"tigase.util.LogFormatter");
329
		defaults.put(LOGGING_KEY + "java.util.logging.FileHandler.limit", "10000000");
329
		defaults.put(LOGGING_KEY + "java.util.logging.FileHandler.limit", "10000000");
330
		defaults.put(LOGGING_KEY + "java.util.logging.FileHandler.pattern",
330
		defaults.put(LOGGING_KEY + "java.util.logging.FileHandler.pattern",
331
			"logs/tigase.log");
331
			"var/log/tigase.log");
332
		defaults.put(LOGGING_KEY + "tigase.useParentHandlers", "true");
332
		defaults.put(LOGGING_KEY + "tigase.useParentHandlers", "true");
333
		if (params.get(GEN_DEBUG) != null) {
333
		if (params.get(GEN_DEBUG) != null) {
334
			defaults.put(LOGGING_KEY + ".level", "INFO");
334
			defaults.put(LOGGING_KEY + ".level", "INFO");
(-)src/main/java/tigase/io/SSLContextContainerIfc.java (-3 / +3 lines)
Lines 70-76 Link Here
70
	 * JKS keystore file.
70
	 * JKS keystore file.
71
	 */
71
	 */
72
	public static final String JKS_KEYSTORE_FILE_VAL =
72
	public static final String JKS_KEYSTORE_FILE_VAL =
73
		"certs" + File.separator + "rsa-keystore";
73
		"/usr/share/ca-certificates/tigase" + File.separator + "rsa-keystore";
74
	/**
74
	/**
75
	 * Constant <code>JKS_KEYSTORE_PWD_KEY</code> is a key pointing to a private
75
	 * Constant <code>JKS_KEYSTORE_PWD_KEY</code> is a key pointing to a private
76
	 * key password,
76
	 * key password,
Lines 90-96 Link Here
90
	 * Constant <code>TRUSTSTORE_FILE_VAL</code> is a default truststore file.
90
	 * Constant <code>TRUSTSTORE_FILE_VAL</code> is a default truststore file.
91
	 */
91
	 */
92
	public static final String TRUSTSTORE_FILE_VAL =
92
	public static final String TRUSTSTORE_FILE_VAL =
93
		"certs" + File.separator + "truststore";
93
		"/usr/share/ca-certificates/tigase" + File.separator + "truststore";
94
	/**
94
	/**
95
	 * Constant <code>TRUSTSTORE_PWD_KEY</code> is a key pointing to a trustore
95
	 * Constant <code>TRUSTSTORE_PWD_KEY</code> is a key pointing to a trustore
96
	 * file password.
96
	 * file password.
Lines 118-124 Link Here
118
	 * where all certificate files are stored.
118
	 * where all certificate files are stored.
119
	 *
119
	 *
120
	 */
120
	 */
121
	public static final String SERVER_CERTS_DIR_VAL = "certs/";
121
	public static final String SERVER_CERTS_DIR_VAL = "/usr/share/ca-certificates/tigase/";
122
	/**
122
	/**
123
	 * Constant <code>TRUSTED_CERTS_DIR_KEY</code> is a key pointing to a configuration
123
	 * Constant <code>TRUSTED_CERTS_DIR_KEY</code> is a key pointing to a configuration
124
	 * parameter where all trusted certificates are stored.
124
	 * parameter where all trusted certificates are stored.

Return to bug 238755