Prividers Not working exception thrown

403 byte By kmdkmda at 2007-9-29 11:40:36
We are using Baltimore Providers for security .While it workd fine in applet viewr / application , I failed tomake it run in browser (IE 6) with jre 1.4.2 .What may go wrong ?We used digital signature for data signning .Any help or pointers will be heighly appreciated.Thanks in advance ...

how to sign an applet?

560 byte By MohMourada at 2007-9-29 11:45:50
hi there..am writing a client applet that's supposed to connect to a certain server at a specified port and then displays out whatever the server sends to it. I got an exception with the following msg:"access denied java.net.SocketPermission 127.0.0.1: 9000 connect, resolve"Now, i no that ...

Signed Applet not running in netscape browser

1049 byte By callyasha at 2007-9-29 11:52:54
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"WIDTH = 695 HEIGHT = 525 codebase=" http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"><PARAM NAME = CODE VALUE = SignedAppletDemo ><PARAM NAME = CODEBASE VALUE = "." ><PARAM NAME = ...

Interpret Yes/No (accept/deny) for signed applets

1678 byte By HenkeJohanssona at 2007-9-29 12:26:10
Hi, I have signed my applet .jar file with an RSA certificate. The applet is working just fine except when the user is to grant access for it. If he waits for a while an exception occurs. It seems like the applet runs EVEN if it has not been granted. My question is why and how I can prevent ...

Accessing web cam from applet

369 byte By a_w_z_sa at 2007-9-29 12:38:03
Hi! I wanna know that can't i access web cam from an applet without signing it? or if i have to signed it then i have to buy digital certificate? or i can do this by just manuplating policy files? i am confused about this. because when i wanna access web cam on lan from applet it get crash and ...

Signed applet and javascript communication

963 byte By san_spunkya at 2007-9-29 12:51:32
Hi All,I have an (jar) signed applet which I use to access system properties (e.g user.home). I also have a javascript code that communicates (call to a public function) with the applet to get the property "user.home" from the applet. Everything works fine in Java plugin 1.3 but since I have ...

Signed applet is NOT LOADING..- please help

1729 byte By dinkarbhaia at 2007-9-29 13:10:20
Hello1) I created an applet called applet1.java and put it in a jar file called test.jar. jar cf test.jar com2) Then i signed the jar file using the following method.keytool -genkey -alias helllo - keypass hellojarsigner DwContentXfer.jar hello3) I put the file on my server and tried to access ...

Browser never presents certificate to user

974 byte By aksaraswata at 2007-9-29 13:15:17
Hi,I'm wondering if anyone can help me with this:I have an applet that I wish to deploy in a signed JAR file. I created a key with the "keytool" utility that comes in the JDK. This key comes with its own self-singed certificate. In order to increase the level of protection, I added a root ...

Implementing a Signed Applet

582 byte By wjnortha at 2007-9-29 13:21:50
We have an applet that basically gets a *.prn file from a repository and presents the file to the user to print. It invokes the default printer on the client's workstation and sends the *.prn to the printer. The *.prn is then removed from memory so there's no way to store the file locally.The ...

Problems with RSA Signed Applet and 1.4.2_01-b06

542 byte By haumeyera at 2007-9-29 13:26:04
Hello folks!My applet needs to read files from the client. So I need the permission from the client. Because noone wants to manipulate the java.policy-file ;-) I signed the applet with selfcreated certificate (MD5withRSA).Just because all my customers know me...they all trust this certificate! ...

JRE 1.4.x Plugin - Signed Applets and Weird Behaviour (Policy)

2671 byte By ossgrp2784a at 2007-9-29 13:53:47
Hello.I have recently experienced some strange behaviour related to signed applets and policy files in JRE 1.4.2-b28 ( a friend got the same behaviour in a flavour of 1.4.1-xx as well ). Both tests were on Windows 2000 Professional platforms.Initially my unsigned applet, which attempts socket ...

Is it possible to pass parameters to AccessController.doPrivileged ?

880 byte By wesleyai2a at 2007-9-29 14:36:32
Hi,I've a signed applet with a method to create a directory on the user's client machine. This method is called from a JavaScript. The JavaScript code pass the name of the directory to be created when calling the method. As the JavaScript code on the page is unsafe, I need to call ...

Signed Applet Trouble.

1034 byte By vickymcsa at 2007-9-29 14:57:01
hi,Lately have been working on signing of applets, now by default applets are not allowed to access system resources, i.e files, etc, for obvious reasons. So if one has to access these resources through applet, the applet needs to be signed. Now i have signed the applet, even after doing that ...

Security problem 1.4.1_03 vs later

335 byte By Yesh007a at 2007-9-29 15:14:30
Built a self signed applet that accesses system resources (files, etc.) It is working fine on 1.4.1_03 but fails on later versions of run time. Any help will be appreciated.The applet and the containing HTML is not loaded from a server but the local disk.Tested on Win 98/Me/2000/XP same ...

connecting to url using applet

972 byte By ajcoloursa at 2007-9-29 15:19:18
Hi,I made a console program that uses the httpURLConnection class to determine if a site is up. Now I converted that program into an applet. It no longer works. I get the following exception when trying to connect to google:java.security.AccessControlException: access denied ...

Incompatability between Applet and Browser

417 byte By gr33ndataa at 2007-9-29 15:25:01
While trying to download some software from the net, using MS IE.I received the following error: "The applet has failed for an unknown reason, possibly because of an incompatibility between this applet and your browser." Does anyone know anything about it However I've googled this error and ...

reading & writing in serial port from server

1133 byte By Sebastian_Lopeza at 2007-9-29 15:29:59
Hello to everybody,I've done an application that draws in a frame the trajectory of a robot. The robot position is readed through the serial port, and several commands are wrote through the same port to change the direction of the robot.The trajectory frame is managed by an applet, and the ...

Signed Applet problems

788 byte By lfpgMWa at 2007-9-29 15:32:04
Hi all, I have a problem with one applet. I just built an applet (JDK 1.2) to download a file to the local machine; so far is OK, I got my digital certificate and I have signed the applet. Now when I test it in IE 5.x or 6.x it shows me the certificate and of course I trust, so it writes to the ...

Trouble with signed applet on Safari 1.0

2485 byte By amihailescua at 2007-9-29 15:54:22
Hi, I have a self signed applet which works fine on Mac OS X with Safari 1.0,but only when I accept it clicking on "YES" in the Security Warning window. Every time when I try to accept it by clicking on "Always" button, I get this exception:java.security.KeyStoreException: Failed to add cert ...

Applet Problem in IE, help

693 byte By oasis-zjj-javaa at 2007-9-29 16:17:31
Hi,I want to use IBM's ViaVoice TTS SDK techiniques to do some voice work on Applet.However, I am failed to run the Web example in that. It is said following error:com.ms.security.SecurityExceptionEx[....]:cannot access 0.Though there are some suggestion with the help, but I am using IE5.01 ...

starting a program on client machine

75 byte By stipanova at 2007-9-29 16:22:55
hi,can a signed applet start a program on the client machine?

Error to load an applet

7741 byte By Jane_Pellima at 2007-9-29 16:57:52
Please , could anybody help me ?I'm trying to load an applet from JSP page.I've already installed Java Plugin.I'm using Internet Explorer 5 and TomCat 4.1The code of the applet is following:Applet code--/* * Created on 14/11/2003 * * To change the template for this generated file go to * ...

Signed Applet AccessControlException

2583 byte By m_hustlera at 2007-9-29 17:40:21
I am seeing some behaviour that seems very weird. I have a signed applet that is trying to connect to a JMS topic. However when I create the topic connection [topicConnectionFactory.createTopicConnection()] I get:java.lang.ExceptionInInitializerError caused byAccessControlException: access ...

applet signing basic problem.

813 byte By ShellyKalra22a at 2007-9-29 17:42:07
Hi,I have an applet that is added to an html page that need to accces the files from client m/c.In order to make it work on my machine i made changes in .java.policy file grantingallPermission.Now, i understand that i need to make my applet a signed applet.After reading some docs I managed to ...

my signed applet works with 1.4.1 plugin but it doesn't with 1.4.2_02 !!!

1494 byte By domecqa at 2007-9-29 17:50:30
Hi there, I've got problems trying to sign an applet with Java 2. That applet is an FTP which is used for uploading files throught the Browser (just upload).I signed my applet with SDK 1.4.1 when I surfed the page which contains it, the applet works properly (the browser had Java plug in ...

signed applet over browser https

494 byte By MarkoMaceka at 2007-9-29 18:19:40
Is there a way to use the browser's https mechanism to access the applets using java plugin 1.4.2 (in mozilla 1.4+)?I have a site that requires a client certificate for access (possibly stored on a smart card) and the usage of separate keystore, ... makes the applet practically undeployable ...

AppletSecurityManager

490 byte By siriiussa at 2007-9-29 18:24:11
Hi guys..I am trying to call an executable residing on my mocal machine into an applet. As obvios the security restriction on the applet do not allow the applet to do so and throw security exception.Is there any way of getting rid of these restrictions. How about the AppletSecurityManager? Can ...

JAI is not supported by JRE in Client Machine

1295 byte By kamasastrya at 2007-9-29 18:58:05
Hi,we developed a applet for image processing using JAI .We signed that jar file and deployed on IIS.its working fine on server or on client mechine if we placed jai_core.jar and jai_codec.jar file on Program Files\Java\j2re1.4.1_06\lib\ext folder.if we remove those 2 jar file from JRE we are ...

Java Applet works in IE but not Netscape 7.x....

1000 byte By chris.meyer.a at 2007-9-29 19:09:11
Someone from the Java programming forum suggested that I post this here. **** I hate being a newbie... :)I have a digitally signed applet that needs to brigde the cross domain communications issues inherint with the Java Security "Sandbox". The applet works as expected in I.E. 6.x but when ...

Signed Applet Problem (Need Help ASAP!)

1926 byte By bakersoft_corpa at 2007-9-29 19:15:58
We have an applet developed using JDK 1.3.1_09. We put our classes for this applet into a jar file, signed it with a digital certificate from VeriSign. On the webpage where we implement the applet, we're using the <object> tag so that we can direct the user to download Java Plugin 1.3 if ...

can anyone help me (to sign an applet on MacOS X) ?

474 byte By BillG.a at 2007-9-29 19:16:12
Hi,I have some permissions problems with an http upload applet I've made, using your libraries.I can't sign my applet for running it under mac os X.I tried to sign it with the oldest MacOs 9 signer and with the jdk 1.4.2 (win 2000) signer, but all of this didn't work.Someone can tell me how ...

Why this applet not work ?

3070 byte By jimmycw74a at 2007-9-29 19:33:23
Please, someone can tell me why this applet not work ? I already signed it. I realy need run this applet in IE4 with Microsoft JVM. I know all about the problem with JVM Microsoft but my client only have this platform !--import java.applet.Applet;import java.net.DatagramPacket;import ...

Problems with signed Applet for File Download under JRE 1.4 (works with 1.3

2991 byte By mrittmeia at 2007-9-29 19:35:40
Dear all,i encountered a very strange behaviour with JRE 1.4x. A signed applet used for file download worked on all platforms (Windows NT, 2000 and XP wth/wthout SP...) until I installed JRE 1.4.x (1.4.1 or 1.4.2)I get an EOFException when downloading binary files (for ASCII it works fine) when ...

Difference between Abstract Class and Interface

592 byte By ksravan_kumara at 2007-9-29 19:36:29
Here is a fresher in Java. Could any body tell me the difference between Abstract Class and Interface. And suppose Abstract class has three methods, in those, two of them are Abstract and one is normal method, and it has been implemented in that class itself. If we extend the Abstract class to ...

Problems with Signed Applets

773 byte By IT_Skilla at 2007-9-29 19:42:30
Hello !I have an applet program that displays the content of a batch file in the Applet window. To sign the Applet I have converted the corresponding class file to a jar .Then using keytool & jarsigner... I had signed it . I tried to restrict the enuser form editing the contents of that ...

Ask for Username and Password while Opening an Applet

213 byte By IT_Skilla at 2007-9-29 19:47:07
Can we code such a way that , While we open an Applet , It should ask for User and password and upon sucessful validation , the Main applet must be loaded !Any Suggestions Please !Thanks .....

How to make a signed applet to check for file permissions?

231 byte By ThirukumaranGa at 2007-9-29 19:51:53
I have two applets both of which will be called simultaneously. In the applet there are is a text field.Is it is possible to stop the user from writing anything into to the applets text field.Thanks in Advance!

JSP and Applets

343 byte By IT_Skilla at 2007-9-29 19:59:36
When we Open an applet in a browser , the applet is getting embedded in the browser and is appearing inside the browser . but how to bring this applet in a seperate window , ie browser must be in the background and this applet window must appear isolated . The applet must get closed when i ...

code to read local notepad.txt from applet

4300 byte By acinhka at 2007-9-29 20:13:43
Hi.Further to my (unanswered) queries about reading a notepad.txt file from the local directory i.e. the same directory from which the html and applet were launched, the following code is supposed to be able to read the local file. It failed to do so both in Netscape 7.1 and in IE5I've also ...

How can I sign My applet for IE and Netscape without JavaPlugIn?

662 byte By Sekendizpasa@a at 2007-9-29 20:20:03
I think we can sign our applets with Javasigner.exe but this certificate is not beingsupported by IE and Netscape. If you want to use this certificate with IE and Nets.you must install JavaPlugIn to all users. I dont want to choose this way.I think we have one alternative for this purpose.For ...

setting properties to applets...

430 byte By needsolutiona at 2007-9-29 20:27:58
hi This is a new comer to developing applets.Can i set properties to an applet? i mean i have an applet running and for that applet the user shoud be able to right clik on it and see set of properties scroll down like change font color etc.....how can i make it possible.I'd appreciate if ...

Xml & applets

338 byte By leokportoa at 2007-9-29 20:36:49
How can i make an applet to read a xml file?I am using JDom and with the test at the applet viewer it works fine, but when i go to the browser, it don't!!!Do i have to sign this applet?If so, how can i sign it to read the xml from the host http://hostname/appdir/xml for ...

JSP and Applets

292 byte By peteriyera at 2007-9-29 20:46:13
Hai i am having an applet which has some data which i got from the user and i have it as an object..this applet is embedded in a JSP page and i wanna pass the data from Applet to this JSPhow can i do it ?please help..Thanx In AdvancePeter Iyer

error executing signed applet

5995 byte By PhadkeAa at 2007-9-29 20:47:08
Dear All,I have signed my applet with a test certificate with jdk (keygen and jar file)It works with IE if JRE is installed on client machine otherwise says class not found and gray sceen is shown.......I HTMLConverted html to add object and embed tags.HtmlConverted html file does not show ...

Applet Security Policy File Issues : Automating

725 byte By edenorigina at 2007-9-29 20:47:42
Dear All,I need a means of programmatically automating the following:1. Update the $JAVA_HOME/lib/security/java.policy file from within an Applet; Signed or not..The policy file would need to be updated with the IP addresses specified in the <PARAM> tag of the HTML; which in turn would ...

Security Exception executing a signed Applet

262 byte By ksrk123a at 2007-9-29 20:51:19
Dear All,I get a security exception (file permission ) when i try to execute a signed applet using java plugin version 1.4.2._02, the same applet works good in java plugin version 1.3.1_04. Any ideas...?Thanks in advanceKSRK123

Problem calling java applet function in javascript in Mozilla

1265 byte By heyinba at 2007-9-29 20:51:37
I am using Mozilla 1.5 on Linux red hat and Java plug-in 1.4.2_02The error I get in the Javascript console is 揈RROR document.applets["AppletName"].getSourceToEval is nota function?br>following is part of the code-function functionName(){var evalString ...

Plugin download in object tag installs JRE also

340 byte By PhadkeAa at 2007-9-29 20:52:44
Hi all,this may sound a stupid question but ......................i am new to java .... my thinking was tht java plug in download and install from object tag link doesnt install jre ? but here its doing tht ...ANY WAYS TO AVOID DOWNLOADING AND INSTALLING JRE WITH JAVA PLUGIN ?best ...

1.2.2 signed applet

1782 byte By sunHuntera at 2007-9-29 21:08:15
We have an RSA signed applet that has to run under the java plugin 1.2.2 and IE 6.0It was working fine until late last week with the Root Certificate Expiration by Verisign. We followed the recommended steps listed by sun: http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436Over the ...

Applets, JSP

766 byte By Oscar_Aa at 2007-9-29 21:10:27
HelloI have a question about signing of applets. My questions is how do i do this, is it free, how will do it (me or another company). Information about the application:From a JSP-page i need to read, import, a excel file from a harddrive to a database. This JSP-page or applets shall not be on ...