blob: 91dcc0f008ed26c975e8e1217de89b7f9f09bded [file] [log] [blame]
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. The ASF licenses this file to You
under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<document>
<properties>
<title>Configuration</title>
</properties>
<body>
<section name="Configuration">
<p>
See:<br/>
1. web.xml - /src/examples/web/WEB-INF/web.xml<br/>
1. context.xml - /src/examples/web/jcrtaglib.xml<br/>
</p>
<subsection name="JCR repository factory">
<p>
The default JCR repository must be set under the
following JNDI address: "jcr/repositoryFactory".
</p>
</subsection>
<subsection name="BeanFactory">
<p>
The default BeanFactory must be set under the
following JNDI address: "jcr/beanFactory".
</p>
</subsection>
<subsection name="Traverser">
<p>
The default traverser ID must be set under the
following JNDI address: "jcr/traverser/default"
</p>
</subsection>
<subsection name="ItemFilter">
<p>
The default filter ID must be set under the
following JNDI address: "jcr/filter/default"
</p>
</subsection>
<subsection name="ItemComparator">
<p>
The default sort ID must be set under the following
JNDI address: "jcr/comparator/default"
</p>
</subsection>
<subsection name="TemplateEngine">
<p>
The default template Engine ID must be set under the
following JNDI address:
"jcr/template/engine/default"
</p>
</subsection>
<subsection name="SizeCalculator">
<p>
The default SizeCalculator ID must be set under
the following JNDI address: "jcr/size/default"
</p>
</subsection>
<subsection name="Login">
<p>
This information is used when no user and password
is provided in jcr:session tag, and the user is not
logged through container managed security.
<br />
The default user name must be set under the
following JNDI address: "jcr/login/anonuser"
<br />
The password for the default user must be set under
the following JNDI address: "jcr/login/anonpwd"
</p>
</subsection>
</section>
</body>
</document>