Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
html
SecurityConfig.jsp.html 65.2 kB 1 10-Apr-2009 11:21 Harry Metske

This page (revision-8) was last changed on 14-Apr-2009 00:07 by 69.26.32.67  

This page was created on 10-Apr-2009 11:13 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 3 added 32 lines
!! Try to debug/solve it yourself first
! Use the Sandbox
In some situations you can try to reproduce your problem in the [Sandbox|http://sandbox.jspwiki.org]. There you can register new userid's, create pages and see if your problem occurs there too.
! Raise debuglevels and check your logs.
Next thing you do is raising the debug level, one thing you can do is add the following two statements to jspwiki.properties or log4j.properties (depending on which JSPWiki version you run) :
{{{
log4j.logger.com.ecyrd.jspwiki.auth=debug, FileLog
log4j.additivity.com.ecyrd.jspwiki.auth=false
}}}
Recycle your ~AppServer and watch the log, you should at least see DEBUG messages like these :
%%small
{{{
2009-04-10 20:14:43,892 [main] DEBUG com.ecyrd.jspwiki.auth.user.AbstractUserDatabase - Database successfully initialized
2009-04-10 20:14:43,908 [main] INFO com.ecyrd.jspwiki.auth.UserManager - UserDatabase initialized.
2009-04-10 20:14:45,448 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - Adding new acl entry for view
2009-04-10 20:14:45,466 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - user = All: (("com.ecyrd.jspwiki.auth.permissions.PagePermission","Scharnhorst-wiki:HarryTestPage","view"))
2009-04-10 20:14:45,468 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - Adding new acl entry for modify
2009-04-10 20:14:45,469 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - user = All: (("com.ecyrd.jspwiki.auth.permissions.PagePermission","Scharnhorst-wiki:HarryTestPage","view"))
user = FUSPOS: (("com.ecyrd.jspwiki.auth.permissions.PagePermission","Scharnhorst-wiki:HarryTestPage","modify"))
2009-04-10 20:14:45,705 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - Adding new acl entry for view
2009-04-10 20:14:45,706 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - user = All: (("com.ecyrd.jspwiki.auth.permissions.PagePermission","Scharnhorst-wiki:EditPageHelp","view"))
2009-04-10 20:14:45,707 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - Adding new acl entry for edit
2009-04-10 20:14:45,707 [main] DEBUG com.ecyrd.jspwiki.auth.acl.DefaultAclManager - user = All: (("com.ecyrd.jspwiki.auth.permissions.PagePermission","Scharnhorst-wiki:EditPageHelp","view"))
user = Authenticated: (("com.ecyrd.jspwiki.auth.permissions.PagePermission","Scharnhorst-wiki:EditPageHelp","edit"))
}}}
%%
At line 36 added 3 lines
!! FAQ's
----
At line 9 changed 2 lines
* Check your admin/SecurityConfig.jsp, it tells you all about your security configuration, see this [example output|SecurityConfig.jsp.html]
* Check your JSPWiki logs after increasing the debug levels. You configure your logging in jspwiki.properties (<=2.8), or via WEB-INF/classes/log4j.properties. You should have a jspwiki.log and a security.log
* Check your admin/SecurityConfig.jsp, it tells you all about your security configuration, see this [example output|SecurityConfig.jsp.html]. To use this jsp, you should first put __jspwiki-x.securityconfig.enable=true__ in jspwiki.properties
* Check your JSPWiki logs after increasing the debug levels. You configure your logging in jspwiki.properties (<= version 2.8), or via WEB-INF/classes/log4j.properties (>= version 3.0). You should have a jspwiki.log and a security.log
At line 12 removed one line
At line 48 added 6 lines
__Q__
\\I have a rather restrictive policy for my wiki having a default that only allow authorized users to view pages. I have a couple of pages that should be public, and I added ''ALLOW view All'' to them, but that does not work.
__A__
\\With page ACL's you can only further restrict permissions, and not widen them up.
Version Date Modified Size Author Changes ... Change note
8 14-Apr-2009 00:07 3.71 kB 69.26.32.67 to previous
7 13-Apr-2009 22:35 3.936 kB AnonymousCoward to previous | to last Authorization Debug stmts in the log
6 10-Apr-2009 21:27 3.708 kB Harry Metske to previous | to last
5 10-Apr-2009 20:22 1.469 kB HarryMetske to previous | to last
4 10-Apr-2009 16:55 1.251 kB HarryMetske to previous | to last jspwiki-x.securityconfig.enable=true
3 10-Apr-2009 12:41 1.149 kB HarryMetske to previous | to last
2 10-Apr-2009 11:21 0.797 kB Harry Metske to previous | to last
1 10-Apr-2009 11:13 0.781 kB Harry Metske to last
« This page (revision-8) was last changed on 14-Apr-2009 00:07 by 69.26.32.67