JSPWiki End User Confusion

My instructions in earlier blog entries for setting JSPWiki on Glassfish results in an installation that only allows access to the wiki based on a pre-defined list of users entered into a database. Users, in my configuration, can’t add themselves to the JSPWiki system or reset their passwords.

However, the login page of the wiki had led some of my users to believe that they could add themselves and even reset password.

To avoid this confusion edit the JSPWiki\templates\default\LoginContent.jsp file and comment out these files located near the end of this file. (JSP comments look like this ):

<%–

Don’t have a password? Join now!
Lost your password? Get a new one.

–%>

You will, of course, have to re-create the war file and re-deploy the wiki application on Glassfish for the changes to be made apparent.

One thought on “JSPWiki End User Confusion

  1. I really recommend to deploy it as a directory, to avoid redeployments.And to prevent users to add themselves, you can restrict it by configuring its policy file (jspwiki.policy). Just comment the anonymous part, at “WikiPermission” “*”,”editProfile”// permission com.ecyrd.jspwiki.auth.permissions.WikiPermission “*”, “editProfile”;

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s