Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@minotaur.apache.org Received: (qmail 42962 invoked from network); 31 Mar 2011 19:35:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2011 19:35:12 -0000 Received: (qmail 61287 invoked by uid 500); 31 Mar 2011 19:35:12 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 61267 invoked by uid 500); 31 Mar 2011 19:35:12 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 61259 invoked by uid 99); 31 Mar 2011 19:35:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2011 19:35:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Kenneth.V.George@sprint.com designates 213.199.154.139 as permitted sender) Received: from [213.199.154.139] (HELO DB3EHSOBE001.bigfish.com) (213.199.154.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2011 19:35:01 +0000 Received: from mail37-db3-R.bigfish.com (10.3.81.247) by DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id 14.1.225.8; Thu, 31 Mar 2011 19:34:40 +0000 Received: from mail37-db3 (localhost.localdomain [127.0.0.1]) by mail37-db3-R.bigfish.com (Postfix) with ESMTP id 4F0CCDA81C6 for ; Thu, 31 Mar 2011 19:34:40 +0000 (UTC) X-SpamScore: -32 X-BigFish: VS-32(z30c3kzbb2dKbb2cK3071M9371P542N98dN148cMzz1202hzz8275bh8275dhd311fiz2fh2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:pdaasdm2.corp.sprint.com;RD:smtpda2.sprint.com;EFVD:NLI Received: from mail37-db3 (localhost.localdomain [127.0.0.1]) by mail37-db3 (MessageSwitch) id 1301600079768802_11667; Thu, 31 Mar 2011 19:34:39 +0000 (UTC) Received: from DB3EHSMHS008.bigfish.com (unknown [10.3.81.246]) by mail37-db3.bigfish.com (Postfix) with ESMTP id B9B56EB0053 for ; Thu, 31 Mar 2011 19:34:39 +0000 (UTC) Received: from pdaasdm2.corp.sprint.com (144.229.32.57) by DB3EHSMHS008.bigfish.com (10.3.87.108) with Microsoft SMTP Server (TLS) id 14.1.225.8; Thu, 31 Mar 2011 19:34:38 +0000 Received: from PLSWEH03.ad.sprint.com (PLSWEH03.corp.sprint.com [144.226.242.132]) by pdaasdm2.corp.sprint.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p2VJYap2023027 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 31 Mar 2011 14:34:36 -0500 Received: from pdawm05a.ad.sprint.com ([fe80::1190:6649:9937:212a]) by PLSWEH03.ad.sprint.com ([fe80::a470:17cb:6a7f:3a52%15]) with mapi id 14.01.0270.001; Thu, 31 Mar 2011 14:34:36 -0500 From: "George, Kenneth V [NTK]" To: "jspwiki-user@incubator.apache.org" Subject: RE: Profile Security NOT WORKING!!! Thread-Topic: Profile Security NOT WORKING!!! Thread-Index: AcvtYTq4IUJVwyGTQgypD7C8F82niwARO0sAAAoyPSD//7XDgIAAU5IQ//+2CICAAFM9sIAAY+UA//4A3zCABHOKAIAAUORQgABXpgD//+J/wAAeA0SAAAopyVA= Date: Thu, 31 Mar 2011 19:34:34 +0000 Message-ID: <8D422FFA7868A9489E2D75FF766BD4B505A555@PDAWM05A.ad.sprint.com> References: <8D422FFA7868A9489E2D75FF766BD4B505A299@PDAWM05A.ad.sprint.com> <25181645.9.1301517529126.JavaMail.javamailuser@localhost> <8D422FFA7868A9489E2D75FF766BD4B505A2D4@PDAWM05A.ad.sprint.com> <6C0DDF44-A5BC-4DC6-89A9-5741BA16A47A@ecyrd.com> <8D422FFA7868A9489E2D75FF766BD4B505A4AE@PDAWM05A.ad.sprint.com> <4D94D2E9.7090406@fakebelieve.org> In-Reply-To: <4D94D2E9.7090406@fakebelieve.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.214.116.67] Content-Type: multipart/alternative; boundary="_000_8D422FFA7868A9489E2D75FF766BD4B505A555PDAWM05Aadsprintc_" MIME-Version: 1.0 X-OriginatorOrg: sprint.com X-Virus-Checked: Checked by ClamAV on apache.org --_000_8D422FFA7868A9489E2D75FF766BD4B505A555PDAWM05Aadsprintc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks for taking the time to research all of this. I am not sure why things are not working for me with 2 different machines a= nd flavors 1.6 JDK (which is very frustrating since I think 1.5 is about to= go the way of 1.4 - eol). I enabled the SecurityConfig.jsp and was able to show using 1.6 and Tomcat = 6.0.32 I would get ALL GREEN boxes no matter what I would set jspwiki.poli= cy to, and would get a mix of GREEN and RED using 1.5. I was thinking that maybe I should d/l the source and try to build the JSPW= iki.jar file using 1.6 and see if I get different results. Just not sure. From: Joseph Mocker [mailto:mock@fakebelieve.org] Sent: Thursday, March 31, 2011 2:16 PM To: jspwiki-user@incubator.apache.org Subject: Re: Profile Security NOT WORKING!!! All this commotion got the best of me, so I gave it a spin. Plus I'm runnin= g 2.4 and I probably should really upgrade. At any rate, seemed to work for me, here's what I did: 1. Spun up a new Ubuntu Server 10.10 X64 VM 2. Created install folder /app 3. Downloaded JDK 1.6.0_24 X64 from Oracle 4. Installed Java into /app/jdk1.6.0_24 5. export JAVA_HOME=3D/app/jdk1.6.0_24 6. Downloaded Tomcat 6.0.32 7. Installed Tomcat in /app/web/apache-tomcat-6.0.32 8. Started up Tomcat to make sure its working. It was. Shut it down. 9. Downloaded JSPWiki 2.8.4 10. Installed JSPWiki into /app/web/sites/default/webapps/wiki 11. Installed corepages into /app/web/sites/default/webapps/wiki 12. Edited jspwiki.properties to fix paths for pageDir and storageDir 13. Created Tomcat webapp descriptor in /app/web/apache-tomcat-6.0.32/con= f/Catalina/localhost/wiki.xml (attached) 14. Started up Tomcat hit the /wiki/Installer.jsp page in browser. 15. Restarted Tomcat. Verified I could create files as anonymous, and I c= ould login to admin account. 16. Changed WEB-INF/jspwiki.policy (attached) file so that only logged in= users can create/modify pages. 17. Restarted Tomcat. Verified I could not created/modify pages until I l= ogged in. Seemed pretty straight forward to me. Much easier than getting JSPWiki 2.4 = with a custom jspwiki.policy to work with Sun Java System Web Server 7.0. :-) The Security Configuration Verifier showed the exact permissions of what I= could do. --joe On 3/31/2011 6:28 AM, George, Kenneth V [NTK] wrote: ...AND...on my test machine (local) I am using 1.6.0_24 C:\Documents and Settings\kvg6037>java -version java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing) -----Original Message----- From: Janne Jalkanen [mailto:Janne.Jalkanen@ecyrd.com] Sent: Thursday, March 31, 2011 1:42 AM To: jspwiki-user@incubator.apache.org Subject: Re: Profile Security NOT WORKING!!! This is odd, since I'm running on same JSPWiki, Ubuntu 10.04, Tomcat 6.0.32= (which is BTW a recommended upgrade; Chrome 10 breaks on occasion otherwis= e), and I have jspwiki.policy working. However, I am running OpenJDK 6b20-1= .9.7-0ubuntu1~10.04.1. Is it possible that for some reason Sun JDK's built-in policy management is= kicking in here? Or that it might just be broken in some odd fashion. Can = you try OpenJDK and see if that works for you? /Janne ________________________________ This e-mail may contain Sprint Nextel proprietary information intended for = the sole use of the recipient(s). Any use by others is prohibited. If you a= re not the intended recipient, please contact the sender and delete all cop= ies of the message. --_000_8D422FFA7868A9489E2D75FF766BD4B505A555PDAWM05Aadsprintc_--