tag:blogger.com,1999:blog-741750605858169835.post8988885642083774440..comments2024-01-24T14:53:02.919+00:00Comments on Stephen Colebourne's blog: Testing a security permissionStephen Colebournehttp://www.blogger.com/profile/01454237967846880639noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-741750605858169835.post-28509964664142211752004-11-09T02:56:29.000+00:002004-11-09T02:56:29.000+00:00Great post! I wish more OSS tools would use the st...Great post! I wish more OSS tools would use the standard java security model. Joda just moved from maybe-i'll-bookmark-this to i-should-definitely-check-this-out status.<br /><br />To your question; unfortunately, I have run into the exact same problem in the past (twice) and I've yet to find anything better than what you have here. The only other option I considered was wrapping the static AccessController calls in a delegating application-coded instance that was pluggable by interface. While this would work (i.e. you could check that the access controller was called without needing to munge the Policy), it smacks of over-engineering :(mattnoreply@blogger.com