Hi all. I'm using JSPWiki JSPWiki v2.4.103.

I'd like to make our Wiki viewable only after login.

I've commented out the following option in the jspwiki.policy file:

 grant signedBy "jspwiki",
  principal com.ecyrd.jspwiki.auth.authorize.Role "Anonymous" {
  // permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*",
  "view";

However, it doesn't work.
Is there something I'm missing?

The application name in the jspwiki.properties is:
jspwiki.applicationName = Cataloguer's Wiki

So I've also created an entry in the jspwiki.policy file like this:

 grant signedBy "Cataloguer's Wiki"

but that doesn't work either.

We're using a different directory name for the wiki itself (it's under /webapps/catwiki/), so does this matter? And we're using userdatabase.xml under the /webapps/catwiki/WEB-INF/ directory for authentication.

Thanks,

Simon
--
_______________________________________
Simon Huggard
Systems Manager
Information Systems Department
Monash University Library
Monash University
Building 4, Monash University, Vic, Australia 3800
Phone: +61 3 9905 9138 Fax: + 61 3 9905 2610
Mobile: 0425 774 260 (International : +61 425 774 260)
_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList

Reply via email to