This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, I did not see special security forum, so i am posting here. Sorry if this an irrelevant one. Here is my problem: When i want to use a policy file, i do this while starting the JVM :- java -Djava.security.policy=the security policy i want to use. But istead of giving on the command line while running, I want to include this in the program itself , how can i do this? since i am setting a property which is "java.security.policy", i saw the API of java.security.Policy, but could not figure it out how to do Can someone help me Thanks for your time Praveen.