File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why I don't get a SecurityException ??

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I created a small chat server (you know, Sockets, ServerSockets, threads ..)and the clients will be applets.
I created the following class :

the applet code contains :

Ok, every thing is ok and there is no error and the server and applets are working correctly.
but I am wondering why I don't get a SecurityException ?
my applet is using sockets, which are not allowed in unsigned applets (my jar is unsigned) ??
any ideas ??
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends how you're running it. Applets are (generally) allowed to connect to the server they're downloaded from.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic