Article View: borland.public.jbuilder.java.api
Article #631Java security tutorial
From: George
Date: Thu, 29 May 2003 18:17
Date: Thu, 29 May 2003 18:17
16 lines
1483 bytes
1483 bytes
In the section on restricting applications I can't get the same results as the tutorial. When I run java -Djava.security.manager GetProps, I don't get the exception that the tutorial does. For me GetProps returns all the properties without throwing any exceptions. I checked the system default policy file on my system and it is the same as the one indicated in the tutorial. I ran this program from the command line in Unix and from JBuilder 8 Personal under Windows. And I got the same results (i.e no exception). Please tell me what I'm missing. TIA.
Technical Details
Message-ID:
<3ed64eea$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,ff833d59b283828f,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-05-29 11:40:20 PST From: "George" <geo54321@hotmail.com> Newsgroups: borland.public.jbuilder.java.api Subject: Java security tutorial Date: Thu, 29 May 2003 14:17:00 -0400 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 65.209.76.133 Message-ID: <3ed64eea$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054232298 65.209.76.133 (29 May 2003 11:18:18 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail