signed-applet

Security Exception in self signed sound recorder Applet

廉价感情. 提交于 2019-12-24 06:44:21
问题 I have created an applet for recording sound. It throws an exception when I try to open a dataline. TargetDataLine.open() java.security.AccessControlException: access denied (javax.sound.sampled.AudioPermission record) My applet is self signed, all other jar files are self signed. Previously I was using a different thread to start the TargetDataLine and close the line. Afterwords instead of creating another thread, I switched to Executorservice . It works fine with thread but throws above

How can I allow Firefox (or Chrome) to read a PC's hostname or other assignable ID?

强颜欢笑 提交于 2019-12-22 18:14:47
问题 I want to be able to assign a unique name to each PC in a WAN (either in the hostname or in a local file) and somehow allow the browser to pick this information up . The rationale is that I can later trace that "transaction X was carried out on terminal A", which I then know that it is on building B, floor C, room D and so on. Why we need this, it's another topic. Just say we do need this kind of identification for good reason. So far we've used a custom plugin (.dll + .xpi) that would read a

Issues with Java 7u65

非 Y 不嫁゛ 提交于 2019-12-20 18:25:47
问题 Last night a new Java 7 update has been released: 7u65. I have a web application where a service applet is loaded, and after the update, my tests on different PCs did not show issues nor wrong behaviors. Later, I started to receive issue reports related to my product's Java service applet. All the reports came from users who updated Java JRE to 7u65 (from 7u60): The applet was not loading at all. I display a "Loading" screen when the application starts, and this was not being displayed. Also,

Sign applet and deploy it in intranet

天大地大妈咪最大 提交于 2019-12-19 11:25:15
问题 i wrote a web application which is used in our intranet. I alswo wrote a small Java Applet to integrate with our windows desktops (opening applications and files). Of course i get a security warning everytime i access my web application. I've read on stackoverflow that it should be possible, to sign my applet and roll out the certificate to all my clients (Windows XP and Windows 7) to get rid of the securitywarning. Is there a tutorial how to do that? Can i do that without purchasing a

How can I pass arbitrary system properties whose values may change to a signed Java RIA (applet, webstart) via JNLP?

烈酒焚心 提交于 2019-12-18 06:58:07
问题 Due to tighter security restrictions in 7u51 , due in January, I'm trying to sign my JNLP file. Our application requires certain custom system properties to be set, and the values of some of those properties are different depending on where the applet is being deployed. I would like to avoid having to re-sign the JAR containing the JNLP template for each deployment. The naive approach of putting <property name="my-prop" value="*"/> in the JNLP template does not work. Even with <property name=

-tsa or -tsacert timestamp for applet jar self-signed

流过昼夜 提交于 2019-12-17 15:36:19
问题 When I was trying to self-sign in the jar like below. jarsigner -keystore my keystore myjar.jar myalias It gives warning like: No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2014-05-08) or after any future revocation date. Please help to resolve the problem. 回答1: The recent Java 7 provides a (courtesy?) warning about something which has been in place for a decade..

Copy/Paste not working in a signed Applet

醉酒当歌 提交于 2019-12-17 12:36:54
问题 I've a signed applet (which verifies correctly with jarsigner ) that for some reason will not allow copy and paste from the system clipboard into a JTextField despite the documentation telling me that it is supposed to work for signed applets. Furthermore, I've other applets which are signed with the same keyfile that do let me copy and paste text. I have searched high and low on the internet and can't seem to find any clues. What is making me pull my hair out is that there seems to be no way

Signed Applet does not load

拥有回忆 提交于 2019-12-13 05:18:39
问题 I've a simple HelloWorld applet, I am embedding that in the HTML. It worked fine. But I put the applet in the jar and signed the jar, but it does not load saying "Self signed jars can't be supported" I am signing using ICA issued cert. More over we never faced this issue before 1.7.51 version. BTW : I went through Oracle Documentation on adding parameters According to it I tried to add following attributes in the signed MANIFEST.MF namely : Permissions: sandbox, Trusted-Library: true but this

Signed Applets, JNI and DLLs

孤人 提交于 2019-12-11 08:06:11
问题 I have a question about signed applets and dll's. I'm going to do an applet that uses a bunch of dll's that resides on the harddrive. If my applet is signed and the user agrees to run the applet, will the dll's be able to perform anything? I was looking for if I might run into any resource/clearance issues if my applet runs the dll's. Basically the dll's are responsible for things like voice recording+voice output (through openAL afaik), and RTP and SIP implementations. So I want to make sure

java.util.logger.Logger.getAnonymousLogger() throws NullPointerException

余生长醉 提交于 2019-12-11 06:27:01
问题 I just upgraded my Java plugin to 1.7.0_25, which caused a fatal error with an applet I wrote several years ago (and have been maintaining since). Early in the applet's init() method I call logger = Logger.getAnonymousLogger(); This call has been running since Java 1.4.2 without a problem. Now, with Java 1.7.0_25 (on Windows 7 at least; I've no Mac or Linux machine to test with here), the first time the applet is loaded, it works just fine. However if the applet's browser page is closed and