Change the "name" value of a signed Java applet
Asked Answered
T

3

7

I've self-signed a java applet, so when a user views this applet in a browser, the browser will show a digital signature cannot be verified confirmation dialog. That's all ok, however the value of the "Name:" property (seen above the "Publisher:" property) of this confirmation dialog is set to something I don't remember setting when doing the signing.

So my question is, where is this value coming from, and how do I change it?

Testamentary answered 21/8, 2009 at 11:40 Comment(0)
T
6

Ok, found it, it is the name of the applet in the HTML source

Testamentary answered 21/8, 2009 at 11:43 Comment(0)
P
2

If using the <object> tag, add a name parameter:

<param name="name" value="Name of Applet">

Peterpeterborough answered 29/5, 2012 at 15:36 Comment(1)
Specifying additional name parameter works for <applet> as well. It even overrides the value of the name attribute of <applet name="...">.Ritchey
J
0

In addition to the above responses, use Application-Name property in the MANIFEST.MF inside your (signed) jar.

Janinajanine answered 31/10, 2013 at 17:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.