• Post Reply Bookmark Topic Watch Topic
  • New Topic

security related issue  RSS feed

 
ravin kacha
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


above is the code snnipet i am using in a class which is on the client side(applet). Now the problem is, i am not able to compile the class because i don't have any jar or the source file for this security classes like
PolicyEngine
etc. what is the work arround for this??

please give some solution ASAP

Thanks in advance.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't have the jar file containing the PolicyEngine class or the source code for it then you can't use it in your code directly. You could use it indirectly using Reflection, but you would still need to reference an interface that PolicyEngine implements. Does such an interface exist and do you have the jar file/source code for it ?
[ August 11, 2008: Message edited by: Joanne Neal ]
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am not able to compile the class

If you only want to compile (not execute) why not create a class with the correct(empty) methods etc to allow your program to compile.

A problem for executing it would be getting the correct values for: PermissionID.NETIO etc
[ August 11, 2008: Message edited by: Norm Radder ]
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ugh. Are you really writing code for the MS JVM? That has been deprecated 5 years ago or so; is anyone really still using that? Is there a particular reason you can't use a Java Plugin-based JVM from Sun?
 
ravin kacha
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah...
actually i am using the existing code and over that i am implementing my new classes. but i still need to compile this classes to make a jar and i was helpless when i didn't find the jars for this.

anyways i got jars from one of my source.
so thanks for all the suggestions.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!