Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java Security  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Should jce files be installed on the client machine?!?
肩膀上的阳光

Thinking in Java



发贴: 19
积分: 0
于 2006-09-06 12:05 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我遇到的问题跟下面(来之外国网站)的一样,有谁知道怎么解决?
Hi,
I'm writing a signed applet that makes use of JCE to decript some parameters.
The applet should work fine by just open it in a browser (that's the whole point in being an applet) and accepting the certificate that the applet contains.
In the applet html "archive" tag I added the JCE jars (sjce1_2_2.jar, local_policy.jar, sunjce_provider.jar, US_export_policy.jar) together with my applet jar .

Now, I can oly make the thing work if I add in my java plugin jre/lib/ext directory the JCE files.

Is this normal?!?
I mean to ask a client to install JCE and put the jar files in his plugin extension directory the JCE jars in order to be able to run my applet?

It doesn't make any sense!

Any ideas that I might use? Am I doing something wrong? Shouldn't JCE run fine with applets without installing anything on the client machines?

Thanx anyway,



作者 Re:Should jce files be installed on the client machine?!? [Re:肩膀上的阳光]
肩膀上的阳光

Thinking in Java



发贴: 19
积分: 0
于 2006-09-07 14:48 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Does Anybody tell me whether this link below may help?

http://java.sun.com/products/plugin/1.3/docs/quick_start.html



作者 Re:Should jce files be installed on the client machine?!? [Re:肩膀上的阳光]
JiafanZhou



版主


发贴: 736
积分: 61
于 2006-09-07 18:06 user profilesend a private message to usersend email to JiafanZhousearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
This is the basic procedures to install the Java plugin for your client applet...well, you are right..it is absolutely nonsense to ask for a client to install extra libraries..At least I wont be particularly happy about it.. You need to figure about a second option of doing this..or just simple ignore the extra fancy stuff...

Because the interface to the client is unique (the browser)..

I wonder if you runs an RMI server to dynamically penetrate the user to download the jars for the client??

Or you can use a hyper links for all your jars somewhere on the internet and force your applet uses these jars instead of the local java plugins..

Regards,
Jiafan



作者 Re:Should jce files be installed on the client machine?!? [Re:肩膀上的阳光]
肩膀上的阳光

Thinking in Java



发贴: 19
积分: 0
于 2006-09-08 15:31 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
If there aren't any options to deal with this question, I have to think about to make a exe. intaller for user to install ext jars before using the applet.



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923