File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Problem testing security in my code w/Ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem testing security in my code w/Ant" Watch "Problem testing security in my code w/Ant" New topic
Author

Problem testing security in my code w/Ant

Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
I'm using Ant and I've run into a problem. If I don't give a permission (that I'm checking for) to the "ant.jar" code base, then the app won't run
no matter what.
However, here's the problem: IF I DO give permissions to the "ant.jar" then even if nothing else has any permissions, EVERYTHING passes through!! How do I make it so the permission does not get caught on any ant classes, but will get caught if other classes don't have permissions?
Help! I can't test security with Ant so far!
john guthrie
Ranch Hand

Joined: Aug 05, 2002
Posts: 124
no answer here, but i think it would behoove you to post this to the ant-user list. the ant developers and gurus all hang out there.
to find out how to subscribe, send email to ant-user-help@jakarta.apache.org (or go to http://jakarta.apache.org/site/mail2.html)
Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
Thanks, will do. I did check google, and searched the jakarta site and bug database and found nothing but I'll try that list.
But if anyone here does get the answer, please let me know.
Wilfried LAURENT
Ranch Hand

Joined: Jul 13, 2001
Posts: 269
You should have posted your request in the Jakarta forum
Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
Wow, didn't even know that existed. How do I move this thread to that forum?
Wilfried LAURENT
Ranch Hand

Joined: Jul 13, 2001
Posts: 269
If a Javarancher with superpowers (moderator, sheriff, bartender) reads this thread, it will be kind enough to move it. Or you should mail the moderators directly.
W.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem testing security in my code w/Ant