When I run the netscape.sample.security.SimplePrivSample applet at
http://developer.netscape.com/docs/manuals/index.html?content=signedobj/secsampleharness/SecSampleHarness.html
in Netscape 4.7, I get the following errors in the results textArea:
--------------------------------------------------------------------------------------------------
***Initializing netscape.sample.security.SimplePrivSample...?
?
***Running netscape.sample.security.SimplePrivSample...?
Trying to acquire permission to read system properties...?
Failed! Permissin to read system properties denied by user.?
?
Trying to get system property (user.home)...?
Failed! Security Violation.?
netscape.security.AppletSecurityException: security.checkpropsacess.key?
at
netscape.security.AppletSecurity.checkPropertyAccess(AppletSecurity.java:484)?
at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:958)?
*at java.lang.System.getProperty(System.java:425)?
at
netscape.sample.security.SimplePrivSample.run(SimplePrivSample.java:30)?
at
netscape.sample.security.SecSampleHarness.runSample(SecSampleHarness.java:101)?
at
netscape.sample.security.SecSampleHarness.performCommand(SecSampleHarness.java:60)?
at netscape.application.Button.sendCommand(Button.java:1515)?
at netscape.applicatin.Button.mouseUp(Button.java:1417)?
at netscape.application.RootView._mouseUp(RootView.java:718)?
at netscape.application.RootView.processEvent(RootView.java:1127)?
at netscape.application.EventLoop.processEvent(EventLoop.java:142)?
at netscape.application.EventLoop.run(EventLoop.java:175)?
at netscape.application.FoundationApplet.run(FoundationApplet.java:106)?
at java.lang.Thread.run(Thread.java:504)?
?
***Finishing netscape.sample.security.simplePrivSample...?
----------------------------------?
?
--------------------------------------------------------------------------------------------------
If I click on the padlock icon in the lower left corner of the browser
and look at the Java/Javascript
section, I see that there is nothing in the listbox that is displayed.
I think that I need to grant some
privileges to the applet, but I don't see any way to do it. I was
expecting to see a dialog box requesting
privileges, and then maybe something would appear in my Java/JavaScript
listbox. Is there something
I need to do to make this applet work?
Thanks,
Joe
Type '?' for options.
# Error: Invalid digital signature file (-7885)
# jar file: C:\WINDOWS\TEMP\jzip0QRU.TMP
# path: C:\WINDOWS\TEMP\jzip0QRU.TMP
# Error: loading of signatures has failed (-1)
# jar file: C:\WINDOWS\TEMP\jzip0QRU.TMP
# path: /docs/manuals/signedobj/secsampleharness/
-----------------------------------------------------------
So, it appears that the signatures of the demo apps are corrupt.
Has anyone had any success running these demos?
Joe
Thanks,
Joe