• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not supplying policy file using -D option

 
Aruna Raghavan
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there any way to specify or set the policy file after starting the app? Or is providing it on the command line the only option?
Thanks,
Aruna.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well the policy file is really just telling Java which Permission classes to create. So yes there is a way to do all that programatically.
Now in my submission I removed the RMISecurityManager, so I didn;t need a policy file at all.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic