Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 64973 invoked from network); 10 Aug 2008 13:22:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2008 13:22:35 -0000 Received: (qmail 25244 invoked by uid 500); 10 Aug 2008 13:22:34 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 25229 invoked by uid 500); 10 Aug 2008 13:22:34 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 25218 invoked by uid 99); 10 Aug 2008 13:22:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 06:22:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 13:21:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D597C234C19B for ; Sun, 10 Aug 2008 06:21:44 -0700 (PDT) Message-ID: <772987834.1218374504860.JavaMail.jira@brutus> Date: Sun, 10 Aug 2008 06:21:44 -0700 (PDT) From: "Harry Metske (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Commented: (JSPWIKI-279) Cannot view content after someone logs in In-Reply-To: <1940701565.1212403905073.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621257#action_12621257 ] Harry Metske commented on JSPWIKI-279: -------------------------------------- Does this problem still occur ? If it still does, can you test if it occurs with the default jspwiki.policy ? > Cannot view content after someone logs in > ----------------------------------------- > > Key: JSPWIKI-279 > URL: https://issues.apache.org/jira/browse/JSPWIKI-279 > Project: JSPWiki > Issue Type: Bug > Components: Authentication&Authorization > Affects Versions: 2.6.2 > Environment: Jboss 4.2 > Reporter: Neville Attard > > I'm using JSP wiki as a knowledge base where only admins can enter/modify data, at least for now. Anonymous users should be able to just view the content. > I have enabled jboss' jaas for JSPwiki > and I set the jspwiki security policy as follows: > 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"; > }; > 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 "*"; > }; > Everything is fine until I log in as Admin... > The Admin can create, view, modify pages normally... > By anonymous users that will try to view the knowledge base will be redirected to the https login page. > This issue remains after i log out the Admin. > It only disappears after restarting the jboss server. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.