jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r627281 [1/3] - /incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/
Date Wed, 13 Feb 2008 06:35:49 GMT
Author: ajaquith
Date: Tue Feb 12 22:35:48 2008
New Revision: 627281

URL: http://svn.apache.org/viewvc?rev=627281&view=rev
Log:
Initial commit.

Added:
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/StripesResources.properties
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/commons-logging.properties
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/groupdatabase.xml
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki-container.policy
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.jaas
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.policy
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.properties.tmpl
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.tld
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.properties
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.tld
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/stripes.tld
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/userdatabase.xml
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/web.xml

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/StripesResources.properties
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/StripesResources.properties?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/StripesResources.properties (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/StripesResources.properties Tue Feb 12 22:35:48 2008
@@ -0,0 +1,85 @@
+###############################################################################
+## Default Resource Bundle file for the Stripes Framework. Values should be
+## placed in here for the following:
+##   - Form Field Labels, unless you want users to see a non-localized, non-
+##     pretty name from the form field declaration (prettied up a little).
+##   - Error messages for:
+##       - Standard validation error messages
+##       - Converter error messages
+##       - Error messages used in your custom ActionBean classes
+###############################################################################
+
+# Resource strings used by the stripes:errors tag when there are no nested tags
+stripes.errors.header=<div style="color:#b72222; font-weight: bold">Please fix the following errors:</div><ol>
+stripes.errors.beforeError=<li style="color: #b72222;">
+stripes.errors.afterError=</li>
+stripes.errors.footer=</ol>
+
+stripes.fieldErrors.header=
+stripes.fieldErrors.beforeError=<span style="color: #b72222;">
+stripes.fieldErrors.afterError=</span><br />
+stripes.fieldErrors.footer=
+
+# Resource strings used by the stripes:messages tag
+stripes.messages.header=<ul class="messages">
+stripes.messages.beforeMessage=<li>
+stripes.messages.afterMessage=</li>
+stripes.messages.footer=</ul>
+
+# Validation error messages produced by converter classes
+converter.number.invalidNumber=The value ({1}) entered in field {0} must be a valid number
+converter.byte.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.short.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.integer.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.float.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.enum.notAnEnumeratedValue=The value "{1}" is not a valid value for field {0}
+converter.date.invalidDate=The value ({1}) entered in field {0} must be a valid date
+converter.email.invalidEmail=The value ({1}) entered is not a valid email address
+
+# Validation error messages produced by the annotation based validations
+validation.required.valueNotPresent={0} is a required field
+validation.minlength.valueTooShort={0} must be at least {2} characters long
+validation.maxlength.valueTooLong={0} must be no more than {2} characters long
+validation.minvalue.valueBelowMinimum=The minimum allowed value for {0} is {2}
+validation.maxvalue.valueAboveMaximum=The maximum allowed value for {0} is {2}
+validation.mask.valueDoesNotMatch=<em>{1}</em> is not a valid {0}
+validation.expression.valueFailedExpression=The value supplied ({1}) for field {0} is invalid
+
+###############################################################################
+## Bugzooky Example properties
+###############################################################################
+bug.component.id=Component
+bug.owner.id=Assigned To
+bug.priority=Priority
+bug.status=Status
+bug.dueDate=Due Date
+bug.percentComplete=Percent Complete
+bug.shortDescription=Short Description
+bug.longDescription=Long Description
+
+/examples/bugzooky/SingleBug.action.bug.percentComplete.valueBelowMinimum={0} must be a number between 0 and 100
+/examples/bugzooky/SingleBug.action.bug.percentComplete.valueAboveMaximum={0} must be a number between 0 and 100
+
+bugs.component.id=Component
+bugs.owner.id=Assigned To
+bugs.priority=Priority
+bugs.status=Status
+bugs.shortDescription=Short Description
+bugs.longDescription=Long Description
+
+
+# Login action error messages and fields
+username=Username
+password=Password
+/examples/bugzooky/Login.action.usernameDoesNotExist=The {0} ''{1}'' does not exist. Please check your {0} and try again.
+/examples/bugzooky/Login.action.incorrectPassword=The {0} entered does not match the {0} on file.
+
+# Registration action error messages and fields
+user.username=Username
+user.password=Password
+user.firstName=First Name
+user.lastName=Last Name
+confirmPassword=Confirm Password
+/examples/bugzooky/Register.action.confirmPassword.valueFailedExpression=The Passwords entered did not match.
+/examples/bugzooky/Register.action.usernameTaken=The {0} ''{1}'' is already taken.
+/examples/bugzooky/Register.action.successMessage=Thank you for registering {0}, your account has been created with username ''{1}''
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/commons-logging.properties
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/commons-logging.properties?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/commons-logging.properties (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/commons-logging.properties Tue Feb 12 22:35:48 2008
@@ -0,0 +1 @@
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/groupdatabase.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/groupdatabase.xml?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/groupdatabase.xml (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/groupdatabase.xml Tue Feb 12 22:35:48 2008
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<groups>
+</groups>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki-container.policy
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki-container.policy?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki-container.policy (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki-container.policy Tue Feb 12 22:35:48 2008
@@ -0,0 +1,37 @@
+// $Id: jspwiki-container.policy,v 1.1 2007-05-29 05:11:59 arj Exp $
+
+// ------ APPEND THE CONTENTS OF THIS FILE YOUR CONTAINER'S SECURITY POLICY ------
+
+// If you are running your servlet container with a security
+// policy already, you should simply append the contents
+// of this block into your global JVM policy. The following block
+// is designed for inclusion in typical Tomcat security policy
+// (for example: $CATALINA_HOME/conf/catalina.policy).
+
+// If you need to include JSPWiki permissions (e.g., PagePermission) in your
+// global policy (not shown in the block below), you MUST ALSO:
+//   1) sign the JSPWiki.jar file. We provide a sample Ant target that
+//      does this called 'signjar' (see the build.xml file).
+//   2) Copy the keystore used to sign the JAR to the same directory
+//      as the container security policy (e.g., from JSPWiki's etc/jspwiki.jks
+//      to $CATALINA_HOME/conf)
+//   3) Specify the name of the keystore in your container policy. That's
+//      this next line (which we have commented out):
+//
+// keystore "jspwiki.jks";
+
+// If you don't want or need to specify JSPWiki permissions in your global
+// security policy, then don't worry about the preceding paragraphs, jar-signing
+// or the keystore line... and just copy the rest of this file into the policy.
+// You will also want to adjust the 'codeBase' location to reflect your actual
+// JSPWiki.jar location. But don't change the permissions themselves, because
+// that will totally b0rk the system.
+
+grant codeBase ""file:${catalina.home}/webapps/JSPWiki/JSPWiki.jar" {
+    permission java.security.SecurityPermission   "getPolicy";
+    permission java.security.SecurityPermission   "setPolicy";
+    permission java.util.PropertyPermission       "java.security.auth.login.config", "write";
+    permission java.util.PropertyPermission       "java.security.policy", "read,write";
+    permission javax.security.auth.AuthPermission "getLoginConfiguration";
+    permission javax.security.auth.AuthPermission "setLoginConfiguration";
+};

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.jaas
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.jaas?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.jaas (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.jaas Tue Feb 12 22:35:48 2008
@@ -0,0 +1,129 @@
+// $Id: jspwiki.jaas,v 1.5 2007/11/23 22:54:06 jalkanen Exp $
+//
+// This file contains the JAAS login configuration for JSPWiki.
+// It provides the rules that govern how users log into
+// the application.
+//
+// If you are running your servlet container with a JAAS
+// login configuration file already, you should simply
+// append the contents of this file to it. Otherwise, you
+// can use this as a stand-alone configuration file.
+//
+// To make this configuration active, you will need to specify
+// the location of this file by setting the JVM system property
+// 'java.security.auth.login.config' in the command line script you
+// use to start your web container. The file location should
+// be the absolute path to the jspwiki.policy file. For example:
+//
+//   java -jar myservletcontainer.jar -Djava.security.auth.login.config==/path-to/jaas.config
+//
+// Some servlet containers make this very easy by looking
+// for an environment variable and automatically appending
+// the contents to the 'java' command. For example, Tomcat
+// users just need to set the CATALINA_OPTS variable:
+//
+//   export CATALINA_OPTS="-Djava.security.auth.login.config==/path-to/jaas.config"
+//
+// In addition, it is typically good practice to store jaas.config
+// in the Tomcat config directory (CATALINA_HOME/conf).
+//
+// Note for JBoss users: JBoss (at least 3 and higher, and possibly older
+// versions too) use a proprietary, XML-based JAAS configuration syntax.
+// The result is that it will ignore this file, and use its own. To configure
+// JBoss to use our JAAS settings, cut and paste the equivalent XML snippet
+// (shown at the bottom of this file) to your JBoss configuration directory,
+// e.g., $JBOSS_HOME/server/default/deploy/conf/login-config.xml
+//
+
+// -----------------------------------------------------------
+// And now, for the Login Configurations...
+//
+// When a user attempts to logs in, one of the following LoginConfiguration
+// policies will be consulted.
+//  -JSPWiki-container
+//  -JSPWiki-custom
+//
+
+// JSPWiki-container
+//
+// The standard application configuration defaults to using container-managed
+// security as the first potential authenticator via the JAAS
+// 'WebContainerLoginModule.' The module attempts to authenticate the user
+// by sniffing a Principal object from the HttpServletRequest. If that
+/  doesn't work, the module will next try to get the 'remote user' property
+// in the servlet request and use that value to look up the user in the
+// configured JSPWiki user database (which by default persists data to
+// an XML file called userdatabase.xml).
+//
+// If the WebContainerLoginModule is successful, the user will
+// possess the built-in role principal 'Authenticated.'
+//
+// Note if you aren't using container-managed authentication for
+// the JSPWiki webapp, WebContainerLoginModule will ALWAYS fail.
+// By "not using," we mean:
+//  - The <security-containts> section of WEB-INF/web.xml is
+//    commented out, or
+//  - The servlet container doesn't have a configured authentication
+//    realm for JSPWiki
+//
+// If the WebContainerLoginModule fails, a login is attempted
+// using the CookieAuthenticationLoginModule, which checks if there's
+// a UID cookie, and that he has previously logged in.  If this fails,
+// a 'login' is attempted using
+// the CookieAssertionLoginModule. The login succeeds when the user's
+// HTTP request contains a cookie called 'JSPWikiAssertedName'.
+// The value of this cookie will be the user's identity. The user
+// will also possess the built-in role principal 'Asserted.'
+// If you don't want users to be able to assert their identities in
+// this way (and in a security-conscious environment, you don't want
+// this) remove the line from the configuration entry below.
+//
+// IMPORTANT: The CookieAuthenticationLoginModule stores the cookies
+// in the $jspwiki.workDir directory, under "logincookies".  If an user
+// gains read access to this directory, he can fake any logged-in user.
+// It is imperative that if you enable the CookieAuthenticationLoginModule
+// that you make sure the logincookies directory is protected and readable
+// only by the web server process.  It is not recommended to enable this
+// module if you don't know what you are doing.
+//
+// Failure of the CookieAssertionLoginModule triggers the the
+// AnonymousLoginModule, which always succeeds; the user's name will
+// be the IP address, and will possess the built-in role principal 'Anonymous'.
+
+JSPWiki-container {
+  com.ecyrd.jspwiki.auth.login.WebContainerLoginModule    SUFFICIENT;
+//  com.ecyrd.jspwiki.auth.login.CookieAuthenticationLoginModule SUFFICIENT;
+  com.ecyrd.jspwiki.auth.login.CookieAssertionLoginModule SUFFICIENT;
+  com.ecyrd.jspwiki.auth.login.AnonymousLoginModule       SUFFICIENT;
+};
+
+// JSPWiki-custom
+//
+// This second application configuration is used when container-managed
+// security is not used---i.e., logins are done via JSPWiki directly
+// using custom authentication. In this case, the authentication
+// is done using the JSPWiki user database.
+
+JSPWiki-custom {
+  com.ecyrd.jspwiki.auth.login.UserDatabaseLoginModule    REQUIRED;
+};
+
+// JBoss equivalent (remove slashes and paste into login-config.xml)
+//
+//    <application-policy name="JSPWiki-container">
+//      <authentication>
+//        <login-module code="com.ecyrd.jspwiki.auth.login.WebContainerLoginModule"
+//          flag="sufficient"/>
+//        <login-module code="com.ecyrd.jspwiki.auth.login.CookieAssertionLoginModule"
+//          flag="sufficient"/>
+//        <login-module code="com.ecyrd.jspwiki.auth.login.AnonymousLoginModule"
+//          flag="sufficient"/>
+//      </authentication>
+//    </application-policy>
+//
+//    <application-policy name="JSPWiki-custom">
+//      <authentication>
+//        <login-module code="com.ecyrd.jspwiki.auth.login.UserDatabaseLoginModule"
+//          flag="required"/>
+//      </authentication>
+//    </application-policy>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.policy
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.policy?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.policy (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.policy Tue Feb 12 22:35:48 2008
@@ -0,0 +1,95 @@
+// $Id: jspwiki.policy,v 1.23 2007/07/06 10:36:36 jalkanen Exp $
+//
+// This file contains the local security policy for JSPWiki.
+// It provides the permissions rules for the JSPWiki
+// environment, and should be suitable for most purposes.
+// JSPWiki will load this policy when the wiki webapp starts.
+//
+// As noted, this is the 'local' policy for this instance of JSPWiki.
+// You can also use the standard Java 2 security policy mechanisms
+// to create a consolidated 'global policy' (JVM-wide) that will be checked first,
+// before this local policy. This is ideal for situations in which you are
+// running multiple instances of JSPWiki in your web container.
+// To set a global security policy for all running instances of JSPWiki,
+// you will need to specify the location of the global policy by setting the
+// JVM system property 'java.security.policy' in the command line script
+// you use to start your web container. See the documentation
+// pages at http://doc.jspwiki.org/2.4/wiki/InstallingJSPWiki. If you
+// don't know what this means, don't worry about it.
+//
+// Also, if you are running JSPWiki with a security policy, you will probably
+// want to copy the contents of the file jspwiki-container.policy into your
+// container's policy. See that file for more details.
+//
+// ------ EVERYTHING THAT FOLLOWS IS THE 'LOCAL' POLICY FOR YOUR WIKI ------
+
+// The first policy block grants privileges that all users need, regardless of
+// the roles or groups they belong to. Everyone can register with the wiki and
+// log in. Everyone can edit their profile after they authenticate.
+// Everyone can also view all wiki pages unless otherwise protected by an ACL.
+// If that seems too loose for your needs, you can restrict page-viewing
+// privileges by moving the PagePermission 'view' grant to one of the other blocks.
+
+grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
+    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view";
+    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editPreferences";
+    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editProfile";
+    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
+};
+
+
+// The second policy block is extremely loose, and unsuited for public-facing wikis.
+// Anonymous users are allowed to create, edit and comment on all pages.
+//
+// Note: For Internet-facing wikis, you are strongly advised to remove the
+// lines containing the "modify" and "createPages" permissions; this will make
+// the wiki read-only for anonymous users.
+
+// Note that "modify" implies *both* "edit" and "upload", so if you wish to
+// allow editing only, then replace "modify" with "edit".
+
+grant principal com.ecyrd.jspwiki.auth.authorize.Role "Anonymous" {
+    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify";
+    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages";
+};
+
+
+// This next policy block is also pretty loose. It allows users who claim to
+// be someone (via their cookie) to create, edit and comment on all pages,
+// as well as upload files.
+// They can also view the membership list of groups.
+
+grant principal com.ecyrd.jspwiki.auth.authorize.Role "Asserted" {
+    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify";
+    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages";
+    permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
+};
+
+
+// Authenticated users can do most things: view, create, edit and
+// comment on all pages; upload files to existing ones; create and edit
+// wiki groups; and rename existing pages. Authenticated users can also
+// edit groups they are members of.
+
+grant principal com.ecyrd.jspwiki.auth.authorize.Role "Authenticated" {
+    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "modify,rename";
+    permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view";
+    permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:<groupmember>", "edit";
+    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
+};
+
+
+// Administrators (principals or roles possessing AllPermission)
+// are allowed to delete any page, and can edit, rename and delete
+// groups. You should match the permission target (here, 'JSPWiki')
+// with the value of the 'jspwiki.applicationName' property in
+// jspwiki.properties. Two administative groups are set up below:
+// the wiki group "Admin" (stored by default in wiki page GroupAdmin)
+// and the container role "Admin" (managed by the web container).
+
+grant principal com.ecyrd.jspwiki.auth.GroupPrincipal "Admin" {
+    permission com.ecyrd.jspwiki.auth.permissions.AllPermission "*";
+};
+grant principal com.ecyrd.jspwiki.auth.authorize.Role "Admin" {
+    permission com.ecyrd.jspwiki.auth.permissions.AllPermission "*";
+};

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.properties.tmpl
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.properties.tmpl?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.properties.tmpl (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.properties.tmpl Tue Feb 12 22:35:48 2008
@@ -0,0 +1,849 @@
+###########################################################################
+#
+#  This is the JSPWiki configuration file.  You'll need to edit this
+#  a bit.  The first few lines are the most important ones.
+#
+#  Wherever it is said that an option can be "true" or "false", you can
+#  also use "yes"/"no", or "on/off".  Just for some convenience.
+#
+#
+#  You can use this to override the default application name.  It affects
+#  the HTML titles and logging, for example.  It can be different from
+#  the actual web name (http://my.com/mywiki) of the application, but usually
+#  it is the same.
+#
+jspwiki.applicationName = @appname@
+
+#
+#  Which page provider class to use.  Possibilities are:
+#
+#    RCSFileProvider        - for simple RCS-based file storage
+#    FileSystemProvider     - for simple pure file storage with no version information
+#    VersioningFileProvider - for simple, non-RCS based versioning storage.
+#
+#  Note that if you're upgrading from JSPWiki 1.x, then you need to remove the
+#  "com.ecyrd.jspwiki." part from the beginning of the path.
+#
+jspwiki.pageProvider = FileSystemProvider
+
+#
+#  Set to true, if you want to cache page data into memory.  This is
+#  in general a good idea.
+#
+#  Default is false (no cache).
+#
+#  NB: This replaces the JSPWiki 1.x "CachingProvider" setting, since it
+#      probably was too confusing.
+#
+jspwiki.usePageCache = true
+
+#
+#  Determines where wiki files are kept for FileSystemProvider
+#  and RCSFileProvider
+#
+#  If you're using Windows, then you must duplicate the backslashes.
+#  For example, use:
+#
+#  jspwiki.fileSystemProvider.pageDir = C:\\Data\\jspwiki
+#
+jspwiki.fileSystemProvider.pageDir = @pagedir@
+
+#
+#  The JSPWiki working directory.  If not set, a temporary path will
+#  be used.  You can see the location of the workdir in the logs.
+#  It is HIGHLY recommended that you set this.
+#
+#  The working directory is used to cache things like Lucene search
+#  results.
+#
+#jspwiki.workDir =
+
+#
+#  ATTACHMENTS:
+#
+#  Use the following property to define which attachment provider
+#  you want to use.  You have basically two choices:
+#    * Set the value to BasicAttachmentProvider
+#      a simple, flat file versioning provider
+#    * Leave the value empty (or just comment the line out)
+#      the attachment functionality is disabled
+#
+jspwiki.attachmentProvider = BasicAttachmentProvider
+
+#
+#  The BasicAttachmentProvider needs to know where to store the files
+#  the user has uploaded.  It's okay to put these in the same directory
+#  as you put your text files (i.e. the pageDir setting above).
+#
+#  If you're using Windows, then you must duplicate the backslashes.
+#  For example, use:
+#
+#  jspwiki.basicAttachmentProvider.storageDir = C:\\Data\\jspwiki
+#
+jspwiki.basicAttachmentProvider.storageDir = @pagedir@
+
+#
+#  You can tell the BasicAttachmentProvider to add a flag
+#  so that browsers do not cache certain (or all) attachment
+#  types. This is useful in intranet environments. You should activate
+#  this if your users complain that their excel files are not uploaded
+#  correctly and they still do have an old version: Usually the
+#  file was uploaded correctly, but they get the locally cached version
+#  
+#  You can use regular expressions to disable the cache, e.g the
+#  following example will disable browser cache for all excel and word files
+#
+#  If you don't define this property, cache is enabled by default for
+#  all attachments
+#  
+#  jspwiki.basicAttachmentProvider.disableCache = .*\.xls|.*\.doc
+
+#
+#  You can limit the maximum size of an attachment by setting this
+#  value.  The value is in bytes, and by default all attachments
+#  are accepted.
+#
+#  The following line would limit the attachment size to 100,000 bytes
+#jspwiki.attachment.maxsize=100000
+
+#
+#  By default JSPWiki accepts all types of attachments.  However, you
+#  can allow some types only, or forbid some other types.  By default,
+#  all file types are allowed (if you do not specify the "allow" list
+#  at all or it is empty).
+#
+#  These both are space-separated lists of file suffixes
+#
+#  Example: Allow only PNG, JPG, ZIP and JAR file attachments
+#jspwiki.attachment.allow=.png .jpg .zip .jar
+
+#  Example: Forbid HTML, PHP, ASP and EXE
+#jspwiki.attachment.forbid=.html .htm .php .asp .exe
+
+#
+#  page Diff Representation
+#
+#  To show differences between page versions, you can define a
+# difference provider.
+#  The following choices are available:
+#    * TraditionalDiffProvider - Uses internal (java) diff
+#        to create a list of changes and shows it line by
+#        line colored. This is the default
+#    * ContextualDiffProvider - Uses internal (java) diff
+#        to create changes inline and shows it on a word by
+#        word basis using CSS. This is much superior to the
+#        traditional diff provider, however, it is still quite
+#        new and not much tested. YMMV.
+#    * ExternalDiffProvider - uses a system diff program (which
+#        can be configured using "jspwiki.diffCommand") to
+#        create an unified (!) diff.
+#
+#        Example for a diff command:
+#        jspwiki.diffCommand = /usr/bin/diff -u %s1 %s2
+#
+jspwiki.diffProvider = TraditionalDiffProvider
+
+#
+#  BaseURL can be used to rewrite all of JSPWiki's internal references.
+#  Sometimes, especially if you're behind a address-rewriting firewall,
+#  relative URLs don't work since the servlet container has no idea
+#  where it's actually located.
+#
+#  Leave undefined if you want to rely on what your servlet container
+#  thinks of where your application lives.
+#
+#  You MUST, however, define this one if you want to enable RSS (see below).  In
+#  general, this is a good idea to define it anyway.  Do not forget the
+#  trailing slash.
+#
+#  Example:
+#  jspwiki.baseURL = http://www.jspwiki.org/
+#
+#jspwiki.baseURL=
+
+#  Determines if you need to have relative urls or not.  If the baseURL
+#  is not set, then this has no effect, but if you set the baseURL (which
+#  is highly recommended), you can use this to set relative urls.
+#
+#  Possible values are "absolute" and "relative".
+#
+#jspwiki.referenceStyle=relative
+
+#
+#  Determines which character encoding JSPWiki should use.  If you want
+#  to support all languages in your Wiki, you probably want to enable
+#  this.  From JSPWiki 2.2, it is strongly suggested that you use UTF-8.
+#
+#  Note that you can't switch these in the mean time, since the way the
+#  files are encoded on disk is incompatible between ISO-Latin1 and UTF-8.
+#  Don't try.  You'll get all sorts of interesting problems, if you do.
+#
+#  Possible values are 'ISO-8859-1' (default, if none has been specified)
+#  and 'UTF-8'.
+
+jspwiki.encoding = UTF-8
+
+#
+#  Determines whether raw HTML is allowed as Wiki input.
+#
+#  THIS IS A DANGEROUS OPTION!
+#
+#  If you decide to allow raw HTML, understand that ANY person who has
+#  access to your Wiki site can embed ANY sort of malicious JavaScript,
+#  or plugin, or ActiveX, or whatever on your site.  They can even mess it
+#  up so royally it is impossible for you to replace the situation without
+#  the need of direct access to the repository.  So think twice before
+#  allowing raw HTML on your own site.
+#
+#  Most probably you want to use this on Intranets, or personal servers,
+#  where only a handful of people can access the wiki.
+#
+#  Text between {{{ and }}} -options is not affected by this setting, so
+#  it's always safe to quote HTML code with those.
+#
+#  The default for this option is "false".
+#
+jspwiki.translatorReader.allowHTML = false
+
+############################################################################
+#
+#  Usability niceties.
+#
+#
+#  If this property is set to "true", then page titles are rendered
+#  using an extra space between every capital letter.  It may make
+#  page titles readable on some occasions, but it does have the
+#  drawback of making the titles look a bit funny at times.
+#
+jspwiki.breakTitleWithSpaces = false
+
+#
+#  If set to true, this property means that "WikiName" and "WikiNames"
+#  are considered equal when linking between them.  Setting this to
+#  true does not prevent you from having both kinds of pages - we just
+#  fall back to the other one if the primary name does not exist.
+#
+#  For any other language, you'll probably want to turn this off.
+#
+jspwiki.translatorReader.matchEnglishPlurals = true
+
+#
+#  If you set this to true, the Wiki translator will then also consider
+#  "traditional" WikiNames (that is, names of pages JustSmashedTogether
+#  without square brackets) as hyperlinks.  This technique is also
+#  known as "CamelCase", or "BumpyCase", or "InterCapping".  I personally
+#  like CamelCase as a word, which is why this property is named as it is :-).
+#
+#  By default this is false, since traditional WikiLinks may confuse newbies.
+#
+#  This option can be overridden on a per-page basis using the SET directive.
+#
+jspwiki.translatorReader.camelCaseLinks = false
+
+#
+#  This sets the default template used by the Wiki engine.  The templates
+#  live in templates/<template name>.  JSPWiki will attempt to find three
+#  basic templates from that directory: "ViewTemplate," "EditTemplate"
+#  and "AdminTemplate"
+#
+#  By default this is called "default".
+#
+#  This option can be overridden on a per-page basis using the SET directive.
+#
+jspwiki.templateDir = default
+
+#
+#  Preferences for default template 
+#
+jspwiki.defaultprefs.template.skinname =PlainVanilla
+jspwiki.defaultprefs.template.dateformat =dd-MMM-yyyy HH:mm
+jspwiki.defaultprefs.template.timezone =GMT+01:00
+jspwiki.defaultprefs.template.orientation =fav-left
+jspwiki.defaultprefs.template.editor =plain
+
+jspwiki.defaultprefs.timeformat.01=d/MM
+jspwiki.defaultprefs.timeformat.02=d/MM/yy
+jspwiki.defaultprefs.timeformat.03=d/MM/yyyy
+jspwiki.defaultprefs.timeformat.04=dd/MM/yy
+jspwiki.defaultprefs.timeformat.05=dd/MM/yyyy
+jspwiki.defaultprefs.timeformat.06=EEE, dd/MM/yyyy
+jspwiki.defaultprefs.timeformat.07=EEE, dd/MM/yyyy, Z
+jspwiki.defaultprefs.timeformat.08=EEE, dd/MM/yyyy, zzzz
+jspwiki.defaultprefs.timeformat.09=d/MM/yy HH:mm
+jspwiki.defaultprefs.timeformat.10=d/MM/yy hh:mm a
+jspwiki.defaultprefs.timeformat.11=d/MM/yy hh:mm a, Z
+jspwiki.defaultprefs.timeformat.12=dd-MMM
+jspwiki.defaultprefs.timeformat.13=dd-MMM-yy
+jspwiki.defaultprefs.timeformat.14=dd-MMM-yyyy
+jspwiki.defaultprefs.timeformat.15=EEE, dd-MMM-yyyy
+jspwiki.defaultprefs.timeformat.16=EEE, dd-MMM-yyyy, Z
+jspwiki.defaultprefs.timeformat.17=EEE, dd-MMM-yyyy, zzzz
+jspwiki.defaultprefs.timeformat.18=dd-MMM-yyyy HH:mm
+jspwiki.defaultprefs.timeformat.19=dd-MMM-yyyy hh:mm a
+jspwiki.defaultprefs.timeformat.20=dd-MMM-yyyy hh:mm a, Z
+jspwiki.defaultprefs.timeformat.21=MMMM dd, yyyy
+jspwiki.defaultprefs.timeformat.22=MMMM dd, yyyy HH:mm
+jspwiki.defaultprefs.timeformat.23=MMMM dd, yyyy hh:mm a
+jspwiki.defaultprefs.timeformat.24=MMMM, EEE dd,yyyy hh:mm a
+jspwiki.defaultprefs.timeformat.25=MMMM, EEEE dd,yyyy hh:mm a
+jspwiki.defaultprefs.timeformat.26=dd.MM.yyyy
+jspwiki.defaultprefs.timeformat.27=dd.MM.yyyy, HH:mm
+jspwiki.defaultprefs.timeformat.28=dd.MM.yyyy, HH:mm zz
+jspwiki.defaultprefs.timeformat.29=EEEE, dd.MM.yyyy
+jspwiki.defaultprefs.timeformat.30=EE, dd.MM.yyyy, HH:mm zz
+jspwiki.defaultprefs.timeformat.31=EEEE, d. MMMM yyyy, HH:mm zz
+
+#
+#  The name of the front page.  This is the page that gets loaded if no
+#  other page is loaded.  Up until JSPWiki 1.9.28, it was always called
+#  "Main", but now you can easily change the default front page here.  If not
+#  defined, uses "Main".
+#
+#jspwiki.frontPage = Main
+
+#
+#  If set to true, all outward links have a small icon attached.  The icon
+#  can be found from images/out.png.  Default is true.
+#
+jspwiki.translatorReader.useOutlinkImage = true
+
+#
+#  Set this to the number of minutes a person can "lock" a page
+#  for while he is editing it.
+#
+jspwiki.lockExpiryTime = 60
+
+#
+#  Search provider used for searching pages and attachments.
+#  Default is LuceneSearchProvider, but you can fall back to BasicSearchProvider
+#
+jspwiki.searchProvider = LuceneSearchProvider
+
+#
+#  If your wiki's language is something else than English, you might
+#  want to visit jakarta.apache.org/lucene and download a proper Analyzer
+#  for your language.  Default is to use StandardAnalyzer.
+#
+#jspwiki.lucene.analyzer = org.apache.lucene.analysis.standard.StandardAnalyzer
+
+############################################################################
+#
+#  Special page references.
+#
+#  The URL is relative to Wiki.jsp.  However, if you use
+#  a full, absolute URL, you can also do that.
+#
+# Example to redirect all requests to a page called 'OriginalWiki'
+# to the original wikiwiki at http://c2.com/cgi/wiki
+#
+# jspwiki.specialPage.OriginalWiki = http://c2.com/cgi/wiki
+#
+#  Note that it is entirely possible to override any Wiki page, even
+#  an existing one by redefining it here.
+#
+jspwiki.specialPage.CreateGroup = NewGroup.jsp
+jspwiki.specialPage.FindPage = Search.jsp
+jspwiki.specialPage.Login = Login.jsp
+jspwiki.specialPage.NewGroup = NewGroup.jsp
+jspwiki.specialPage.UserPreferences = UserPreferences.jsp
+
+#############################################################################
+#
+#  Plugin search paths.
+#
+#  Define here the packages you want to use for searching plugins,
+#  separated with commas.
+#  For example, use the following command to add "org.myorganisation.jspwiki.myplugins"
+#  and "com.foobar.myplugins" to the search path.
+#
+#  jspwiki.plugin.searchPath = org.myorganisation.jspwiki.myplugins,com.foobar.myplugins
+#
+#  The default path is "com.ecyrd.jspwiki.plugin", and it will be always
+#  the last item on the path.  This allows you to override JSPWiki default
+#  plugins.  Note that you are only adding to the path, not replacing it (ie.
+#  the default path is never removed.)
+#
+#  If the path is not specified (and there is no jspwiki_module.xml with the
+#  plugin JAR), you need to either declare the search path by hand, or
+#  use a fully qualified name.
+#
+#  If you are a plugin developer, please consider deploying a jspwiki_module.xml
+#  file with your plugin JAR, so that the user does not have to set the searchPath.
+#
+#  jspwiki.plugin.searchPath = org.myorganisation.jspwiki.myplugins,com.foobar.myplugins
+#
+jspwiki.plugin.searchPath =
+
+#############################################################################
+#
+#  Page filters
+#
+#  Normally, the filter configuration is in your WEB-INF/ directory, so you
+#  do not need to go and specify this.  However, if your filters.xml live somewhere
+#  else, you'll have to specify it here.
+#
+#jspwiki.filterConfig = /some/path/to/your/filters.xml
+
+#############################################################################
+#
+#  URL Constructor
+#
+#  JSPWiki by default generates page and attachment links that use JSP
+#  pages and request parameters. It can also use alternative URL
+#  constructors so that URL pages resemble traditional website paths, too.
+#  You have three choices for generating URLs:
+#
+#     DefaultURLConstructor - uses JSPs for all references:
+#         http://mywiki.com/jspwiki/Wiki.jsp?page=Main
+#         http://mywiki.com/jspwiki/Edit.jsp?page=Main
+#
+#     ShortURLConstructor - uses path-like reference style:
+#         http://mywiki.com/jspwiki/wiki/Main
+#         http://mywiki.com/jspwiki/wiki/Main?do=Edit
+#
+#     ShortViewURLConstructor - uses path-like references for views; JSPs for everything else:
+#         http://mywiki.com/jspwiki/wiki/Main
+#         http://mywiki.com/jspwiki/Edit.jsp?page=Main
+#
+#  Of course, you can also write your own implementation if you wish.
+#
+#  For either of the ShortURL constructors, you can also specify a
+#  prefix path to go in front of page names. By default, the
+#  prefix is 'wiki/'.
+#
+#  Be warned that the ShortURLConstructor does not work well with any other editor
+#  except the built-in plaintext one.  Use ShortViewURLConstructor if you plan
+#  to enable any other ones.
+#
+#jspwiki.urlConstructor = DefaultURLConstructor
+#jspwiki.urlConstructor = ShortViewURLConstructor
+#jspwiki.shortURLConstructor.prefix = wiki/
+
+#############################################################################
+#
+# Rendering
+#
+# At this time, entries here are strictly for development and testing.
+#
+
+# Disable internal caching of pre-constructed document DOMs.
+# This may be necessary if you require custom rendering that must not be cached.
+#jspwiki.renderingManager.useCache = false
+
+
+#############################################################################
+#
+#  Security, authentication and authorization
+#
+
+#  JSPWiki supports a plugin-based interface for talking to different
+#  kinds of authentication and authorization systems. By "authentication,"
+#  we mean a system for logging in a user to establish their identity.
+#  By "authorization," we mean a system for figuring out what actions
+#  users can perform based on their authenticated identities.
+#
+#  For users looking to get started quickly, the default settings below
+#  should work fine. In addition to the properties below, you may also
+#  want to set the following JRE runtime properties when running JSPWiki
+#  or the servlet container it runs in:
+#
+#     java.security.auth.login.config==/path-to/jspwiki.jass
+#     java.security.policy=/path-to/jspwiki.policy
+#
+#  See the jspwiki.properties and jspwiki.jaas files for more details on
+#  how to do this. These files contain addition configuration options
+#  for the JSPWiki security policy and authentication, respectively, although
+#  the defaults should work fine. If you don't set the JRE properties,
+#  JSPWiki will use default versions from the WEB-INF directory.
+
+#  AUTHENTICATION
+#  For authentication, JSPWiki uses JAAS (Java Authentication and Authorization
+#  Service). The Authentication system is configured in the jspwiki.jaas
+#  file; by default it will attempt to leverage your servlet container's
+#  authentication services, if present. JSPWiki also can use its own
+#  authentication system, which is separate from the container.
+#
+#  JSPWiki will try to detect whether you are using container authentication
+#  To use container authentication, you must uncomment
+#  the <security-constraint> elements in WEB-INF/web.xml.
+#
+#  AUTHORIZATION (EXTERNAL)
+#  For authorization, JSPWiki has a two-tier system. When we want to
+#  determine whether a user has permission to perform a certain action,
+#  we first consult an external "authorizer" to determine if the user
+#  is a member of the required role. By default, JSPWiki uses the
+#  servlet container's authorization service for this (that is, it
+#  calls HttpServletRequest.isUserInRole(String) ).
+#  However, you can use another Authorizer if you wish; specify that
+#  class here.
+
+jspwiki.authorizer = com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer
+
+#  AUTHORIZATION (GROUPS)
+#  As an additional source of authorization, users can belong to discretionary
+#  "wiki groups" that the users manage themselves. Wiki groups are stored in a
+#  GroupDatabase. The default group database uses an XML file for persistent
+#  storage. Override with your own GroupDatabase implementation with this property:
+
+jspwiki.groupdatabase = com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase
+
+#  The default group database implementation stores member lists
+#  in an XML file. The location of this file should be in a secure directory
+#  in the filesystem; for example, in /etc or your servlet container's
+#  configuration directory If you do not supply a value for this property,
+#  a blank group database will be initialized in the WEB-INF/ directory of the
+#  deployed webapp. Since these directories are often overwritten when webapps
+#  are undeployed or redeployed, you should probably set this property to
+#  something useful as soon as you can. But for test wikis, it's probably
+#  ok to leave this un-set, as long as users know that their groups could
+#  "disappear" if the wiki app is ever redeployed.
+
+#jspwiki.xmlGroupDatabaseFile = /etc/tomcat/groupdatabase.xml
+
+#  USER DATABASE
+#  User's wiki profiles are stored in a UserDatabase. The default user database
+#  uses an XML file for persistent storage.
+#  Override with your own UserDatabase implementation with this property:
+
+jspwiki.userdatabase = com.ecyrd.jspwiki.auth.user.XMLUserDatabase
+
+#  The default user database implementation stores usernames and passwords
+#  in an XML file. Passwords are SHA-1 hashed. The location of this file
+#  should be in a secure directory in the filesystem; for example, in
+#  /etc or your servlet container's configuration directory.
+#  If you do not supply a value for this property, a blank user database
+#  will be initialized in the WEB-INF/ directory of the deployed webapp.
+#  Since these directories are often overwritten when webapps are
+#  undeployed or redeployed, you should probably set this property to
+#  something useful as soon as you can. But for test wikis, it's probably
+#  ok to leave this un-set, as long as users know that their profiles could
+#  "disappear" if the wiki app is ever redeployed.
+
+#jspwiki.xmlUserDatabaseFile = /etc/tomcat/userdatabase.xml
+
+# You can also use a JDBC database for storing user profiles.
+# See the online AuthenticationAndAuthorization2.3 docs for details on
+# how to configure it.
+
+#jspwiki.userdatabase = com.ecyrd.jspwiki.auth.user.JDBCUserDatabase
+
+#  If your JSPWiki user database shares login information with your
+#  web container's authentication realm, you can configure JSPWiki to
+#  add container users. At present, this only works with JDBCUserDatabase,
+#  and only if you've configured your web container to use a database
+#  with compatible columns and tables. If you don't know what this means,
+#  then leave this property set to FALSE (the default).
+
+#jspwiki.userdatabase.isSharedWithContainer = false
+
+#  ACCESS CONTROL LISTS
+#  Last but not least, JSPWiki needs a way of reading and persisting page
+#  access control lists. The default implementation reads these from the page
+#  markup. For example: "[{ALLOW edit Charlie}]". If using a custom
+#  ACL manager, specify the AclManager implementation class here:
+
+jspwiki.aclManager          = com.ecyrd.jspwiki.auth.acl.DefaultAclManager
+
+#############################################################################
+#
+# InterWiki links
+#
+# The %s is replaced with the page reference (specify
+# multiple times to get multiple references).  Page references should
+# appear in format : [wiki:wikipage].
+#
+# This is the JSPWiki home.  In future, JSPWiki will probably rely on this
+# for error messages, so I don't recommend that you change it.
+jspwiki.interWikiRef.JSPWiki = http://www.jspwiki.org/wiki/%s
+
+# Here's how you can have directly links to the JSPWiki editor.
+# Now you can put a hyperlink for editing "MainPage" by making
+# a link [Edit:MainPage].
+jspwiki.interWikiRef.Edit = Edit.jsp?page=%s
+
+#  This is the original WikiWikiWeb
+jspwiki.interWikiRef.WikiWikiWeb = http://c2.com/cgi/wiki?%s
+
+#  TWiki, a very nice WikiClone.
+jspwiki.interWikiRef.TWiki = http://twiki.org/cgi-bin/view/TWiki/%s
+
+#  MeatballWiki, which seems to be quite popular.
+jspwiki.interWikiRef.MeatballWiki = http://usemod.com/cgi-bin/mb.pl?%s
+
+#  Wikipedia, a Wiki encyclopedia!
+jspwiki.interWikiRef.Wikipedia = http://www.wikipedia.com/wiki/%s
+
+#  Google, the ubiquitous search engine.
+jspwiki.interWikiRef.Google = http://www.google.com/search?q=%s
+
+#  JSPWiki documentation (for this release)
+jspwiki.interWikiRef.Doc = http://doc.jspwiki.org/2.6/wiki/%s
+
+############################################################################
+#
+# Define which image types are inlined.
+# These are your standard glob expressions (just like in your
+# Windows or UNIX shells).  Default pattern is to include all PNG
+# images.  If you specify something here, you will override the default.
+#
+# Don't forget to increase the number after the dot - duplicate entries
+# cause problems!
+#
+# For example:
+#   Inline all JPG files, PNG files and all files from images.com:
+#
+#      jspwiki.translatorReader.inlinePattern.1 = *.jpg
+#      jspwiki.translatorReader.inlinePattern.2 = *.png
+#      jspwiki.translatorReader.inlinePattern.3 = http://images.com/*
+
+
+###########################################################################
+#
+#  Determine how the RSS (Rich Site Summary) file generation should work.
+#  RSS is a standard pioneered by Netscape, which allows you to join your
+#  Wiki with a huge number of different news services around the world.
+#  Try a Google search on RSS and see what you can do with it.
+#
+#  All of these settings were added in JSPWiki 1.7.6.
+#
+#  Note that jspwiki.baseURL MUST BE DEFINED if you want to enable RSS!
+#
+#  Determine if the RSS file should be generated at all.  Allowed values
+#  are "true" and "false".  Default is "false".
+#
+jspwiki.rss.generate = false
+
+#
+#  Determine the name of the RSS file. This path is relative to your
+#  Wiki root.  Default is "rss.rdf"
+#
+jspwiki.rss.fileName = rss.rdf
+
+#
+#  Determine the refresh interval (ie. how often the RSS file is regenerated.
+#  It is not recommended to make this too often, or you'll choke your server.
+#  Anything above five minutes is probably okay.  The default value is one hour.
+#  The value should be in seconds.
+#
+jspwiki.rss.interval = 3600
+
+#
+#  The text you want to be shown as your "channel description" when someone
+#  subscribes to it.  You can be quite verbose here, up to 500 characters or
+#  so.  You can continue to a new line by adding a backslash to the end of the
+#  line.  Default is to have no description.
+#
+jspwiki.rss.channelDescription = Oh poor me, my owner has not set \
+                                 a channel description at all. \
+                                 Pity me.
+
+#
+#  The language of your Wiki.  This is a standard, two-letter language
+#  code, or in case of some languages, two letters for the country,
+#  a dash, and two letters for the dialect.
+#
+jspwiki.rss.channelLanguage = en-us
+
+###########################################################################
+#
+#  Determine how certain file commands are run.  They have been
+#  commented out, since most likely you want to use the defaults.
+#  Be warned, making mistakes with these may well ruin your entire
+#  Wiki collection!
+#
+#  The command to run diff:
+#     NOTE! If you do not specify this, an internal "diff" routine is used.
+#           In most cases, you really should not touch this.
+#
+#jspwiki.diffCommand = diff -u %s1 %s2
+
+#  The command for RCS checkin
+#jspwiki.rcsFileProvider.checkinCommand = ci -q -mx -l -t-none %s
+
+#  The command for RCS checkout of the newest version
+#jspwiki.rcsFileProvider.checkoutCommand = co -l %s
+
+#  The command for checking out a specific version (%v = version number)
+#jspwiki.rcsFileProvider.checkoutVersionCommand = co -p -r1.%v %s
+
+#  The command for RCS log headers
+#  If you have a version of RCS that does not support the "-z" flag, then
+#  you can try this one out without it.  It should work.
+#jspwiki.rcsFileProvider.logCommand = rlog -zLT -h %s
+
+#  The command for getting the entire modification history
+#jspwiki.rcsFileProvider.fullLogCommand = rlog -zLT %s
+
+###########################################################################
+#
+#  JDBC Configuration. Tells JSPWiki which tables and columns to map
+#  to for the JDBCUserDatabase and JDBCGroupDatabase. For more info, see the
+#  JavaDoc for classes com.ecyrd.jspwiki.auth.user.JDBCUserDatabase and
+#  com.ecyrd.jspwiki.auth.authorize.JDBCGroupDatabase.
+#
+jspwiki.userdatabase.datasource=jdbc/UserDatabase
+jspwiki.userdatabase.table=users
+jspwiki.userdatabase.email=email
+jspwiki.userdatabase.fullName=full_name
+jspwiki.userdatabase.loginName=login_name
+jspwiki.userdatabase.password=password
+jspwiki.userdatabase.wikiName=wiki_name
+jspwiki.userdatabase.created=created
+jspwiki.userdatabase.modified=modified
+jspwiki.userdatabase.roleTable=roles
+jspwiki.userdatabase.role=role
+jspwiki.groupdatabase.datasource=jdbc/GroupDatabase
+jspwiki.groupdatabase.table=groups
+jspwiki.groupdatabase.membertable=group_members
+jspwiki.groupdatabase.created=created
+jspwiki.groupdatabase.creator=creator
+jspwiki.groupdatabase.name=name
+jspwiki.groupdatabase.member=member
+jspwiki.groupdatabase.modified=modified
+jspwiki.groupdatabase.modifier=modifier
+
+###########################################################################
+#
+#  JavaMail configuration. If you wish to allow your users to recover
+#  their passwords via email, you should configure these properties.
+#  JavaMail can use either a container-managed JNDI resource factory
+#  (recommended, and the default), or a stand-alone factory whose properties
+#  are configured with mail.* properties in this file (below).
+#
+#  A. JNDI Resource Factory Configuration. JSPWiki will try this first.
+#     You will need to configure your container to provide a JavaMail
+#     resource factory. See your container documentation, or check our
+#     fairly complete documentation (with examples for Tomcat) in
+#     the JavaDocs for com.ecyrd.jspwiki.util.MailUtil.
+#
+#  JNDI resource name. The commented-out value is the default
+#jspwiki.mail.jndiname = mail/Session
+
+#  B. Stand-alone Resource Factory. JSPWiki will use these values if JNDI fails.
+#
+#  Your SMTP host (i.e. the one which sends email)
+mail.smtp.host = @mail.smtp.host@
+
+# If for some reason the standard smtp port (25) is blocked, you can change it here
+#mail.smtp.port = @mail.smtp.port@
+
+#  The address from which the email appears to come
+mail.from = @mail.from@
+
+# If you are using a webserver that is publically accessible it usually
+# doesn't allow you to send mail anonymously
+# (because then this mailserver would become an open relay).
+# Therefore you can indicate your account information here...
+#
+#mail.smtp.account = @mail.smtp.account@
+#mail.smtp.password = @mail.smtp.password@
+
+# The properties below control connection timeouts and TLS (encryption)
+# if the mailserver supports it. The commented-out values are the defaults.
+#mail.smtp.timeout = 5000
+#mail.smtp.connectiontimeout = 5000
+#mail.smtp.starttls.enable = true
+
+###########################################################################
+#
+#  Configure logs.  See log4j documentation for more information
+#  on how you can configure the logs.
+#
+#  Log4j is available at http://jakarta.apache.org/log4j
+#
+#  WARNING WARNING WILL ROBINSON: If you turn on DEBUG logging, be aware
+#  that some security-sensitive information will be logged (such as session IDs).
+#  Please be careful.
+#
+#  Send mail to root on all problems containing warnings.
+#
+#log4j.appender.mail = org.apache.log4j.net.SMTPAppender
+#log4j.appender.mail.Threshold = WARN
+#log4j.appender.mail.To = root@localhost
+#log4j.appender.mail.From = JSPWiki@localhost
+#log4j.appender.mail.Subject = Problem with JSPWiki!
+#log4j.appender.mail.SMTPHost = mail
+
+#log4j.appender.mail.layout = org.apache.log4j.PatternLayout
+#log4j.appender.mail.layout.ConversionPattern =%d [%t] %p %c %x - %m%n
+
+#
+#  Log everything into a file, roll it over every 10 MB, keep
+#  only 14 latest ones.
+#
+log4j.appender.FileLog = org.apache.log4j.RollingFileAppender
+log4j.appender.FileLog.MaxFileSize    = 10MB
+log4j.appender.FileLog.MaxBackupIndex = 14
+log4j.appender.FileLog.File = @logfile@
+log4j.appender.FileLog.layout = org.apache.log4j.PatternLayout
+log4j.appender.FileLog.layout.ConversionPattern=%d [%t] %p %c %x - %m%n
+
+#
+# If you want to use some other logging system (such as JBoss, which uses
+# log4j already, comment this line out.  If you just don't want any logs
+# at all, you can set it to be empty.  However, I suggest that you do
+# at least to a level of WARN.
+#
+log4j.rootCategory=INFO,FileLog
+
+# Enable if you're using mailing, above.
+#log4j.rootCategory=INFO,FileLog,mail
+
+#
+# Uncomment these lines if you want to see detailed security event logging.
+# The logging levels are as follows:
+#  ERROR: login errors (other than failed/expired logins)
+#  WARN:  access denied, failed login (account expired, password/credential expired)
+#  INFO:  login, logout
+#  DEBUG: add/remove group, add/remove group member, clear groups/group members, access allowed
+#
+#log4j.logger.SecurityLog=INFO, SecurityAppender
+#log4j.appender.SecurityAppender = org.apache.log4j.RollingFileAppender
+#log4j.appender.SecurityAppender.MaxFileSize    = 10MB
+#log4j.appender.SecurityAppender.MaxBackupIndex = 14
+#log4j.appender.SecurityAppender.File = @securitylog@
+#log4j.appender.SecurityAppender.layout = org.apache.log4j.PatternLayout
+#log4j.appender.SecurityAppender.layout.ConversionPattern=%d %p - %m%n
+
+# Enable this if you want to debug the Stripes framework
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
+log4j.rootLogger=INFO, stdout
+log4j.logger.net.sourceforge.stripes=DEBUG
+
+#
+#  Uncomment these lines if you wish to receive detailed spam
+#  filter logging.
+#
+#log4j.logger.SpamLog=INFO,SpamAppender
+#log4j.appender.SpamAppender = org.apache.log4j.RollingFileAppender
+#log4j.appender.SpamAppender.MaxFileSize = 10MB
+#log4j.appender.SpamAppender.MaxBackupIndex = 14
+#log4j.appender.SpamAppender.File = @spamlog@
+#log4j.appender.SpamAppender.layout = org.apache.log4j.PatternLayout
+#log4j.appender.SpamAppender.layout.ConversionPattern=%d{ISO8601} %m%n
+
+###########################################################################
+#
+# Workflow configuration
+#
+# The following properties map specific workflow steps to their associated approvers
+# The name of the workflow or decision is the part of the key after "jspwiki.approver.".
+# This is a logical name JSPWiki uses to determine which Principal to consult for approval.
+# The Principal is identified up by AuthorizationManager at runtime; it looks for a Principal
+# match as follows: GroupPrincipals; Roles; WikiPrincipals/other principals. Thus, if a value
+# of "Admin" is supplied JSPWiki will first check the GroupManager to see if group Admin exits;
+# then the container roles, if any; then, user Principals. If the value is blank or the
+# property is commented out, it means that the workflow does not require approval.
+#
+# EXAMPLE:
+# Uncomment the next line to require the Admin group (or Admin user, if a group is not found)
+# to approve wiki pages after saving.
+#jspwiki.approver.workflow.saveWikiPage=Admin
+
+# Uncomment the next line to require the Admin group to approve new user profiles
+#jspwiki.approver.workflow.createUserProfile=Admin
+
+### End of configuration file.

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.tld
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.tld?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.tld (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/jspwiki.tld Tue Feb 12 22:35:48 2008
@@ -0,0 +1,850 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
+                        "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+
+<!--
+     JSPWiki tag libraries are defined here.
+
+     Note that we support only the 1.1 spec for now,
+     simply because there is no reason to break compatibility.
+ -->
+<taglib>
+  <tlibversion>1.0</tlibversion>
+  <jspversion>1.1</jspversion>
+  <shortname>jspwiki</shortname>
+
+  <tag>
+    <name>AdminBeanIterator</name>
+    <tagclass>com.ecyrd.jspwiki.tags.AdminBeanIteratorTag</tagclass>
+    <teiclass>com.ecyrd.jspwiki.tags.AdminBeanIteratorInfo</teiclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>id</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>type</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>AttachmentsIterator</name>
+    <tagclass>com.ecyrd.jspwiki.tags.AttachmentsIteratorTag</tagclass>
+    <teiclass>com.ecyrd.jspwiki.tags.AttachmentsIteratorInfo</teiclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>id</name>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Author</name>
+    <tagclass>com.ecyrd.jspwiki.tags.AuthorTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>BaseURL</name>
+    <tagclass>com.ecyrd.jspwiki.tags.BaseURLTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>Breadcrumbs</name>
+    <tagclass>com.ecyrd.jspwiki.tags.BreadcrumbsTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>maxpages</name>
+       <required>false</required><!-- the default value is 10 -->
+    </attribute>
+    <attribute>
+       <name>separator</name>
+       <required>false</required><!-- the default value is " | " -->
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Calendar</name>
+    <tagclass>com.ecyrd.jspwiki.tags.CalendarTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>pageformat</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>urlformat</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>monthurlformat</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>CheckLock</name>
+    <tagclass>com.ecyrd.jspwiki.tags.CheckLockTag</tagclass>
+    <teiclass>com.ecyrd.jspwiki.tags.CheckLockInfo</teiclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>mode</name>
+    </attribute>
+    <attribute>
+       <name>id</name>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>CheckRequestContext</name>
+    <tagclass>com.ecyrd.jspwiki.tags.CheckRequestContextTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>context</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>CheckVersion</name>
+    <tagclass>com.ecyrd.jspwiki.tags.CheckVersionTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>mode</name>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>CommentLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.CommentLinkTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Content</name>
+    <tagclass>com.ecyrd.jspwiki.tags.ContentTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>view</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>diff</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>info</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>preview</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>conflict</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>find</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>prefs</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>error</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>edit</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>comment</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>ContentEncoding</name>
+    <tagclass>com.ecyrd.jspwiki.tags.ContentEncodingTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>DiffLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.DiffLinkTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+    <attribute>
+       <name>version</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>newVersion</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>EditLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.EditLinkTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+    <attribute>
+       <name>version</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>title</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>accesskey</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Editor</name>
+    <tagclass>com.ecyrd.jspwiki.tags.EditorTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+  </tag>
+
+  <tag>
+    <name>EditorIterator</name>
+    <tagclass>com.ecyrd.jspwiki.tags.EditorIteratorTag</tagclass>
+    <teiclass>com.ecyrd.jspwiki.tags.EditorIteratorInfo</teiclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>id</name>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>FeedDiscovery</name>
+    <tagclass>com.ecyrd.jspwiki.tags.FeedDiscoveryTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>HasAttachments</name>
+    <tagclass>com.ecyrd.jspwiki.tags.HasAttachmentsTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+  </tag>
+
+  <tag>
+    <name>HistoryIterator</name>
+    <tagclass>com.ecyrd.jspwiki.tags.HistoryIteratorTag</tagclass>
+    <teiclass>com.ecyrd.jspwiki.tags.HistoryIteratorInfo</teiclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>id</name>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>IfNoSearchResults</name>
+    <tagclass>com.ecyrd.jspwiki.tags.IfNoSearchResultsTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+  </tag>
+
+  <tag>
+    <name>Include</name>
+    <tagclass>com.ecyrd.jspwiki.tags.IncludeTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>IncludeResources</name>
+    <tagclass>com.ecyrd.jspwiki.tags.IncludeResourcesTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>type</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+   </tag>
+
+  <tag>
+    <name>InsertDiff</name>
+    <tagclass>com.ecyrd.jspwiki.tags.InsertDiffTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>InsertPage</name>
+    <tagclass>com.ecyrd.jspwiki.tags.InsertPageTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>mode</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Link</name>
+    <tagclass>com.ecyrd.jspwiki.tags.LinkTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+    <attribute>
+       <name>version</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>class</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>style</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>title</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>target</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>compareToVersion</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>rel</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+        <attribute>
+       <name>jsp</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+        <attribute>
+       <name>ref</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+        <attribute>
+       <name>context</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>absolute</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>templatefile</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>accessKey</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>LinkTo</name>
+    <tagclass>com.ecyrd.jspwiki.tags.LinkToTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+    <attribute>
+       <name>version</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>template</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>title</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>accesskey</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>LinkToParent</name>
+    <tagclass>com.ecyrd.jspwiki.tags.LinkToParentTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+    <attribute>
+       <name>version</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Messages</name>
+    <tagclass>com.ecyrd.jspwiki.tags.MessagesTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>action</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>div</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>prefix</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>topic</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>NextVersion</name>
+    <tagclass>com.ecyrd.jspwiki.tags.NextVersionTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>NoSuchPage</name>
+    <tagclass>com.ecyrd.jspwiki.tags.NoSuchPageTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>PageExists</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PageExistsTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>PageInfoLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PageInfoLinkTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+    <attribute>
+       <name>title</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>accesskey</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+
+  <tag>
+    <name>PageDate</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PageDateTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+        <name>format</name>
+        <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>PageName</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PageNameTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>PageSize</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PageSizeTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>PageType</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PageTypeTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>type</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>PageVersion</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PageVersionTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+  </tag>
+
+  <tag>
+    <name>Param</name>
+    <tagclass>com.ecyrd.jspwiki.tags.ParamTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>name</name>
+       <required>true</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>value</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>ParentPageName</name>
+    <tagclass>com.ecyrd.jspwiki.tags.ParentPageNameTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>Permission</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PermissionTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>permission</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>PreviousVersion</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PreviousVersionTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>Plugin</name>
+    <tagclass>com.ecyrd.jspwiki.tags.PluginTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>plugin</name>
+       <required>true</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>args</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>RequestResource</name>
+    <tagclass>com.ecyrd.jspwiki.tags.RequestResourceTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>type</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>resource</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>RSSLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.RSSLinkTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>RSSImageLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.RSSImageLinkTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>title</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>RSSUserlandLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.RSSCoffeeCupLinkTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>title</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>SearchResultIterator</name>
+    <tagclass>com.ecyrd.jspwiki.tags.SearchResultIteratorTag</tagclass>
+    <teiclass>com.ecyrd.jspwiki.tags.SearchResultIteratorInfo</teiclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>id</name>
+    </attribute>
+    <attribute>
+       <name>maxItems</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>list</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>start</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>SearchResults</name>
+    <tagclass>com.ecyrd.jspwiki.tags.SearchResultsTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+  </tag>
+
+  <tag>
+    <name>SearchResultsSize</name>
+    <tagclass>com.ecyrd.jspwiki.tags.SearchResultsSizeTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>SetPagination</name>
+    <tagclass>com.ecyrd.jspwiki.tags.SetPaginationTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <info>Returns pagination string and cache it in the pageContext</info>
+    <attribute>
+       <name>start</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>total</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>pagesize</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>maxlinks</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>fmtkey</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>href</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>onclick</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>TabbedSection</name>
+    <tagclass>com.ecyrd.jspwiki.tags.TabbedSectionTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <info>A BodyTag for tabbed sections</info>
+    <attribute>
+      <name>defaultTab</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Tab</name>
+    <tagclass>com.ecyrd.jspwiki.tags.TabTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <info>A Tag for a tab, which is a child of tabbedSection</info>
+    <attribute>
+      <name>id</name>
+      <required>true</required>
+      <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+      <name>title</name>
+      <required>true</required>
+      <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+      <name>accesskey</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+      <name>url</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>TemplateDir</name>
+    <tagclass>com.ecyrd.jspwiki.tags.TemplateDirTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>Translate</name>
+    <tagclass>com.ecyrd.jspwiki.tags.TranslateTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+  </tag>
+
+  <tag>
+    <name>UploadLink</name>
+    <tagclass>com.ecyrd.jspwiki.tags.UploadLinkTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>page</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>format</name>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>UserName</name>
+    <tagclass>com.ecyrd.jspwiki.tags.UserNameTag</tagclass>
+    <bodycontent>empty</bodycontent>
+  </tag>
+
+  <tag>
+    <name>UserCheck</name>
+    <tagclass>com.ecyrd.jspwiki.tags.UserCheckTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>status</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>exists</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>UserProfile</name>
+    <tagclass>com.ecyrd.jspwiki.tags.UserProfileTag</tagclass>
+    <bodycontent>JSP</bodycontent>
+    <attribute>
+       <name>property</name>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>Variable</name>
+    <tagclass>com.ecyrd.jspwiki.tags.VariableTag</tagclass>
+    <bodycontent>empty</bodycontent>
+    <attribute>
+       <name>var</name>
+       <required>true</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+    <attribute>
+       <name>default</name>
+       <required>false</required>
+       <rtexprvalue>true</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+      <name>Cookie</name>
+      <tagclass>com.ecyrd.jspwiki.tags.CookieTag</tagclass>
+      <bodycontent>empty</bodycontent>
+      <attribute>
+          <name>name</name>
+          <required>true</required>
+          <rtexprvalue>false</rtexprvalue>
+      </attribute>
+      <attribute>
+          <name>item</name>
+          <required>false</required>
+          <rtexprvalue>true</rtexprvalue>
+      </attribute>
+            <attribute>
+          <name>value</name>
+          <required>false</required>
+          <rtexprvalue>true</rtexprvalue>
+      </attribute>
+            <attribute>
+          <name>var</name>
+          <required>false</required>
+          <rtexprvalue>false</rtexprvalue>
+      </attribute>
+            <attribute>
+          <name>scope</name>
+          <required>false</required>
+          <rtexprvalue>false</rtexprvalue>
+      </attribute>
+            <attribute>
+          <name>clear</name>
+          <required>false</required>
+          <rtexprvalue>true</rtexprvalue>
+      </attribute>
+  </tag>
+</taglib>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.properties
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.properties?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.properties (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.properties Tue Feb 12 22:35:48 2008
@@ -0,0 +1,58 @@
+# CACHE DIRECTORY
+#
+# This is the directory on disk where caches will be stored.
+# it will be created if it doesn't already exist, but OSache
+# must be able to write to here.
+#
+# If you want to disable file caching, just comment out or remove this line.
+# Note: for Windows machines, this needs \ to be escaped
+# ie Windows:
+# cache.path=c:\\myapp\\cache
+# or *ix:
+# cache.path=/opt/myapp/cache
+
+# CACHE IN MEMORY
+#
+# If you want to disable memory caching, just comment out or remove this line.
+# Note: disabling memory AND disk caching is possible but fairly stupid ;)
+#
+#cache.memory=false
+
+# DEBUGGING
+#
+# set this to true if you want to see log4j debugging messages
+#
+#cache.debug=true
+
+# CACHE KEY
+#
+# This is the key that will be used to store the cache in the application
+# and session scope.
+#
+# If you want to set the cache key to anything other than the default
+# uncomment this line and change the cache.key
+#
+# cache.key=__oscache_cache
+
+# USE HOST DOMAIN NAME IN KEY
+#
+# Servers for multiple host domains may wish to add host name info to
+# the generation of the key.  If this is true, then uncomment the
+# following line.
+#
+# cache.useHostDomainInKey=true
+
+# CACHE ALGORITHM
+# Default cache algorithm to use. Note that in order to use an algorithm
+# the cache size must also be specified. If the cache size is not specified,
+# the cache algorithm will be Unlimited cache.
+# cache.algorithm=com.opensymphony.module.oscache.base.algorithm.FIFOCache
+
+# CACHE SIZE
+# Default cache size in number of item. If a size is specified but not
+# an algorithm, the cache algorithm used will be LRUCache.
+cache.capacity=1000
+
+# CACHE UNLIMITED DISK
+# Use unlimited disk cache or not
+cache.unlimited_disk=false

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.tld
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.tld?rev=627281&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.tld (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/etc/oscache.tld Tue Feb 12 22:35:48 2008
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
+   "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+
+<taglib>
+	<tlibversion>1.5</tlibversion>
+	<jspversion>1.1</jspversion>
+	<shortname>oscache</shortname>
+	<info>OSCache - see http://www.opensymphony.com/oscache</info>
+
+	<tag>
+		<name>cache</name>
+		<tagclass>com.opensymphony.module.oscache.web.tag.CacheTag</tagclass>
+		<bodycontent>JSP</bodycontent>
+		<info>A tag to cache post-processed JSP contents</info>
+
+		<attribute>
+			<name>time</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>duration</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>refreshpolicyclass</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>refreshpolicyparam</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>scope</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>refresh</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>key</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>language</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+
+		<attribute>
+			<name>encoding</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+	</tag>
+
+	<tag>
+		<name>usecached</name>
+		<tagclass>com.opensymphony.module.oscache.web.tag.UseCachedTag</tagclass>
+		<info>A tag to tell the cache to use the cached version</info>
+
+		<attribute>
+			<name>use</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+	</tag>
+
+	<tag>
+		<name>flush</name>
+		<tagclass>com.opensymphony.module.oscache.web.tag.FlushTag</tagclass>
+		<info>A tag to flush the cache</info>
+
+		<attribute>
+			<name>scope</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+		<attribute>
+			<name>key</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+		<attribute>
+			<name>language</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+		<attribute>
+			<name>pattern</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+		</attribute>
+	</tag>
+</taglib>



Mime
View raw message