All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencms.configuration.opencms-system.xml Maven / Gradle / Ivy

Go to download

OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

There is a newer version: 18.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE opencms SYSTEM "http://www.opencms.org/dtd/6.0/opencms-system.dtd">

<opencms>
	<system>
	   	<internationalization> 	
			<localehandler class="org.opencms.i18n.CmsDefaultLocaleHandler"/>	
			<localesconfigured>
				<locale>en</locale>
				<locale>de</locale>
			</localesconfigured>
			<localesdefault>
				<locale>en</locale>
				<locale>de</locale>		
			</localesdefault>
			<timezone>GMT+01:00</timezone>
		</internationalization>
		<mail>
			<mailfrom>[email protected]</mailfrom>
			<mailhost name="my.smtp.server" port="25" order="10" protocol="smtp" user="username" password="secure"/>
			<mailhost name="alternative.smtp.server" port="25" order="20" protocol="smtp"/>
			<mailhost name="another.alternative.smtp.server" port="25" order="30" protocol="smtp"/>
		</mail>
		<scheduler>
			<job>
				<name>Test job name</name>
				<class>org.opencms.scheduler.TestScheduledJob</class>
				<reuseinstance>false</reuseinstance>
				<active>true</active>
				<cronexpression><![CDATA[0/2 * * * * ?]]></cronexpression>
				<context>
					<user>Admin</user>
					<project>Offline</project>
					<siteroot>/sites/default</siteroot>
					<requesteduri>/index.html</requesteduri>
					<locale>en</locale>
					<encoding>UTF-8</encoding>
					<remoteaddr>127.0.0.1</remoteaddr>
				</context>
				<parameters>
					<param name="param1">value1</param>
					<param name="param2">value2</param>
				</parameters>
			</job>		
			<job>
				<name>Another job name</name>
				<class>org.opencms.scheduler.TestScheduledJob</class>
				<reuseinstance>true</reuseinstance>
				<active>false</active>
				<cronexpression><![CDATA[0/10 * * * * ?]]></cronexpression>
				<context>
					<user>Admin</user>
					<project>Offline</project>
					<siteroot>/sites/default</siteroot>
					<requesteduri>/index.html</requesteduri>
					<locale>en</locale>
					<encoding>UTF-8</encoding>
					<remoteaddr>127.0.0.1</remoteaddr>
				</context>
			</job>			
		</scheduler>
		<events>
			<eventmanager class="org.opencms.main.CmsTestEventManager"/>
		</events>	
	   	<versionhistory enabled="true" count="10" deleted="4" />
		<resourceinit>
			<resourceinithandler class="org.opencms.configuration.CmsTestDummyResourceInit" />
			<resourceinithandler class="org.opencms.file.history.CmsHistoryResourceHandler"/>
			<resourceinithandler class="org.opencms.main.CmsPermalinkResourceHandler"/>
		</resourceinit>
		<requesthandlers/>
		<passwordhandler class="org.opencms.security.CmsDefaultPasswordHandler">
			<encoding>UTF-8</encoding>
			<digest-type>scrypt</digest-type>
			<param name="compatibility.convert.digestencoding">false</param>
            <param name="scrypt.settings">16384,8,1</param>			
		</passwordhandler>
		<validationhandler class="org.opencms.security.CmsDefaultValidationHandler" />	
		<loginmanager>	
			<disableMinutes>20</disableMinutes>
			<maxBadAttempts>3</maxBadAttempts>
			<enableSecurity>false</enableSecurity>
		</loginmanager>	
		<loginmessage>
			<enabled>false</enabled>
			<message><![CDATA[This is just a test login message]]></message>
			<loginForbidden>false</loginForbidden>
		</loginmessage>
		<sites>
			<workplace-server>http://localhost:8080</workplace-server>
			<default-uri>/sites/default/</default-uri>
			<site server="http://localhost:8080" uri="/sites/default/" position="10.0" webserver="true">
              <secure server="http://www.mysecureserver.com" exclusive="true" error="true"/>	
               <parameters>
              	<param name="test1">test1</param>
              	<param name="test2">test2</param>
              </parameters> 	
              <alias server="http://www.aliasserver.com"/>              			
              <alias server="http://www.yetanotheraliasserver.com"/>			
			</site>
		</sites>
		<runtimeproperties>
			<param name="compatibility.support.oldlocales">false</param>
			<param name="compatibility.support.webAppNames">/opencms/opencms/</param>
		</runtimeproperties>
		<runtimeclasses>
			<runtimeinfo class="org.opencms.db.CmsDbContextFactory" />
		</runtimeclasses>	
		<defaultusers>
			<user-admin>Admin</user-admin>
			<user-guest>Guest</user-guest>
			<user-export>Export</user-export>
			<group-administrators>Administrators</group-administrators>
			<group-users>Users</group-users>
			<group-guests>Guests</group-guests>
		</defaultusers>		
		<defaultcontentencoding>UTF-8</defaultcontentencoding>
		<memorymonitor class="org.opencms.monitor.CmsMemoryMonitor">
			<maxusagepercent>90</maxusagepercent>
			<log-interval>2</log-interval>
			<email-interval>43200</email-interval>
			<warning-interval>43200</warning-interval>
		</memorymonitor>
		<flexcache>
			<cache-enabled>true</cache-enabled>
			<cache-offline>false</cache-offline>
			<maxcachebytes>8000000</maxcachebytes>
			<avgcachebytes>6000000</avgcachebytes>
			<maxentrybytes>400000</maxentrybytes>
			<maxkeys>2000</maxkeys>
		</flexcache>
		<http-authentication>
			<browser-based>true</browser-based>
			<form-based>/system/login/index.html</form-based>
		</http-authentication>	
		<resultcache>
			<keygenerator>org.opencms.db.CmsCacheKey</keygenerator>
			<size-users>64</size-users>
			<size-groups>64</size-groups>
			<size-orgunits>64</size-orgunits>
			<size-usergroups>256</size-usergroups>
			<size-projects>32</size-projects>
			<size-projectresources>64</size-projectresources>
			<size-resources>8192</size-resources>
			<size-resourcelists>256</size-resourcelists>
			<size-properties>128</size-properties>
			<size-propertylists>128</size-propertylists>
			<size-accesscontrollists>1024</size-accesscontrollists>	
			<size-permissions>1024</size-permissions>
		</resultcache>		
		<content-notification>
            <notification-time>365</notification-time>
            <notification-project>Offline</notification-project>
        </content-notification>
		<authorizationhandler class="org.opencms.security.CmsDefaultAuthorizationHandler" />
		<publishmanager>
			<history-size>100</history-size>
			<queue-persistance>false</queue-persistance>
		    <queue-shutdowntime>1</queue-shutdowntime>
		</publishmanager>
		<session-storageprovider class="org.opencms.main.CmsDefaultSessionStorageProvider" />
		<permissionhandler class="org.opencms.security.CmsDefaultPermissionHandler" />
		<servletcontainer-settings mode="manual">
			<prevent-response-flush>true</prevent-response-flush>
			<release-tags-after-end>false</release-tags-after-end>
			<request-error-page-attribute>servlet.container.test</request-error-page-attribute>
		</servletcontainer-settings>
        <ade>
            <ade-cache>
                <containerpages offline="1024" online="1024" />
                <groupcontainers offline="64" online="64" />
            </ade-cache>
        </ade>
        <subscriptionmanager enabled="false" poolname="default" maxvisited="100" />
	</system>
</opencms>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy