To secure a KnowWE(JSPWiki) installation, you have to edit two files:
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"; };
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"; };
After that, restart the container and the wiki is secure.