opencms-system.dtd

来自「找了很久才找到到源代码」· DTD 代码 · 共 536 行 · 第 1/2 页

DTD
536
字号
<!-- # The root configuration node is called <opencms> for all OpenCms configurations.--><!ELEMENT opencms (system)><!--# <system> configuration:## This node contains various core runtime options for OpenCms.--><!ELEMENT system (	internationalization,	mail,	scheduler,	events?,	versionhistory,	resourceinit?,	requesthandlers?,	passwordhandler,	validationhandler?,	loginmanager?,	loginmessage?,	sites,	runtimeproperties?,	runtimeclasses,	defaultusers,	defaultcontentencoding,	memorymonitor?,	flexcache,	http-authentication,	resultcache,	content-notification?,	authorizationhandler?,	publishmanager?,	session-storageprovider?,	permissionhandler?)><!--# Version history settings.# The OpenCms VFS keeps a version history for old versions of files.# This is done as a binary 1:1 copy of the original file (i.e. no "diff").# # The version history is enabled by default. You can enable / disable it with # the "enabled" attribute. ## Because of this the database would grow very large if unlimited versions# would be stored. The "count" attribute controls the number of binary copies # that are kept in the database per individual file. # If a file has more versions, the oldest binary content is deleted (you can not # re-create this version anymore). However, the basic information about the old # version (i.e. who did the publish etc.) is still kept in the database.## You can also set the optional "deleted" attribute to control the number of# versions for deleted files. Is ommitted the "count" attribute is used.--><!ELEMENT versionhistory EMPTY><!ATTLIST versionhistory enabled (TRUE|true|FALSE|false) #REQUIRED count CDATA #REQUIRED deleted CDATA "-1"><!--# Internationalization settings.--><!ELEMENT internationalization (localehandler, localesconfigured, localesdefault)><!ELEMENT localehandler EMPTY><!ATTLIST localehandler class CDATA #REQUIRED><!ELEMENT localesconfigured (locale+)><!ELEMENT localesdefault (locale+)><!ELEMENT locale (#PCDATA)><!--# Mail settings.--><!ELEMENT mail (mailfrom, mailhost+)><!ELEMENT mailfrom (#PCDATA)><!ELEMENT mailhost EMPTY><!ATTLIST mailhost 	name CDATA #REQUIRED	order CDATA #IMPLIED	protocol CDATA #IMPLIED	user CDATA  #IMPLIED	password CDATA #IMPLIED><!--# Resource initializer settings.--><!ELEMENT resourceinit (resourceinithandler*)><!ELEMENT resourceinithandler EMPTY><!ATTLIST resourceinithandler class CDATA #REQUIRED><!--# Request handlers:# Request handlers are used for special requests that should NOT be mapped to a VFS resource.# See the JavaDoc of interface org.opencms.main.I_CmsRequestHandler for more details.--><!ELEMENT requesthandlers (requesthandler*)><!ELEMENT requesthandler EMPTY><!ATTLIST requesthandler class CDATA #REQUIRED><!--# Password handler:# Provides methods for password encryption and password validation.# See the JavaDoc of interface org.opencms.security.I_CmsPasswordHandler for more details.--><!ELEMENT passwordhandler (encoding, digest-type, param*)><!ATTLIST passwordhandler class CDATA #REQUIRED><!ELEMENT digest-type (#PCDATA)><!--# Validation handler:# Provides all kind of validation methods.# See the JavaDoc of interface org.opencms.security.I_CmsValidationHandler for more details.--><!ELEMENT validationhandler EMPTY><!ATTLIST validationhandler class CDATA #REQUIRED><!--# Login manager:# The login manager counts the bad logins of a user and disables this user# for a given number of minutes in case a certain treshold is reached.--><!ELEMENT loginmanager (disableMinutes, maxBadAttempts)><!ELEMENT maxBadAttempts (#PCDATA)><!ELEMENT disableMinutes (#PCDATA)><!--# Login message:# This is a message which is displayed to each user upon login.# Also, the login can be forbidden for all non-Admin users.--><!ELEMENT loginmessage (enabled, message, loginForbidden, timeStart?, timeEnd?)><!ELEMENT enabled (#PCDATA)><!ELEMENT message (#PCDATA)><!ELEMENT loginForbidden (#PCDATA)><!ELEMENT timeStart (#PCDATA)><!ELEMENT timeEnd (#PCDATA)><!--# Scheduler settings:# The scheduler settings provide information for the OpenCms scheduler. # The OpenCms scheduler is comparable with the CRON facility in Unix systems.# # The scheduler has a list of <job> subnodes.# Most important for a job is the <class> name to be executed,# and the <cronexpression> that controls the excution time. --><!ELEMENT scheduler (job*)><!ELEMENT job (name?, class, reuseinstance?, active?, cronexpression, context, parameters?)><!--# The job name is optional and used for information purposes only (e.g. in the log file).# If no job name is provided, the class name is used as the job name.--><!ELEMENT name (#PCDATA)><!--# The job class name to execute at the scheduled time.# This class _must_ implement the org.opencms.scheduler.I_CmsSchedulerJob interface.--><!ELEMENT class (#PCDATA)><!--# Optional configuration that controls if a new instance of the job class is created # every time the job is run, or if an instance is created only for the first time and# re-used for every later job execution. ## The #PCDATA value will be evaluated with Boolean.valueOf(#PCDATA).booleanValue().# If the result is "true", the class instance will be re-used.--><!ELEMENT reuseinstance (#PCDATA)><!--# Optional configuration that controls if the job is active or not. If a job is not# active, it is still kept in the job list, but not executed. This is intended for # jobs that are frequently but not always used.# # The #PCDATA value will be evaluated with Boolean.valueOf(#PCDATA).booleanValue().# If the result is "true", the class instance will be re-used.--><!ELEMENT active (#PCDATA)><!--# The cron expression to use for the job schedule.# Please refer to the JavaDoc of the class org.opencms.scheduler.CmsScheduledJob# for a full description of the possible options.--><!ELEMENT cronexpression (#PCDATA)><!--# Each job will be provided with an initialized instance of a CmsObject.# The settings in the <context> node control the request context settings of this object.# # The defaults for the optional elements are:# siteroot:   /# requesturi: /# locale:     the first locale configured as default locale# encoding:   the configures system encoding# remoteaddr: 127.0.0.1--><!ELEMENT context (user, project, siteroot?, requesteduri?, locale?, encoding?, remoteaddr?)><!ELEMENT user (#PCDATA)><!ELEMENT project (#PCDATA)><!ELEMENT siteroot (#PCDATA)><!ELEMENT requesteduri (#PCDATA)><!ELEMENT encoding (#PCDATA)><!ELEMENT remoteaddr (#PCDATA)><!-- Each job can have an optional list of parameters.--><!ELEMENT parameters (param*)><!ELEMENT param (#PCDATA)><!ATTLIST param name CDATA #REQUIRED><!--# Event settings:# It is possible to replace the default event manager with a custom implementation # by configuring the name of the event manager class. The event manager class must# always be extended from org.opencms.main.CmsEventManager.--><!ELEMENT events (eventmanager?)><!ELEMENT eventmanager EMPTY><!ATTLIST eventmanager class CDATA #REQUIRED><!--# Configuration that controls individual sites in OpenCms.# Each <site> subnode of <sites> defines a site with the server name# and the corresponding VFS uri in OpenCms.## workplace-server: the default server of the OpenCms workplace# default-uri: the default uri marks the site that is used when #              a request matches no defined site # secure: an optional secure server for the site:#     exclusive: if set to true, secure resources will only be available using the given secure url#                do not forget to configure an additional tomcat connector using proxyPort="443" scheme="https" secure="false"#     error: if exclusive, and set to true will generate a 404 error, if set to false will redirect to secure url# alias:  alias servers for the site--><!ELEMENT sites (workplace-server, default-uri, site+)><!ELEMENT workplace-server (#PCDATA)><!ELEMENT default-uri (#PCDATA)><!ELEMENT site (secure?, alias*)><!ATTLIST site 	server CDATA #REQUIRED	uri CDATA #REQUIRED><!ELEMENT secure EMPTY>	<!ATTLIST secure	server CDATA #REQUIRED	exclusive (true|false|TRUE|FALSE) "false"	error (true|false|TRUE|FALSE) "false"><!ELEMENT alias EMPTY>	<!ATTLIST alias	server CDATA #REQUIRED>		<!--# Optional configuration that controls some additional information as key/value param pairs# Parameters and values are stored as OpenCms runtime properties.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?