Re: [privilizer] new idea to improve usability

2013-02-18 Thread Matt Benson
Hi all, Mark and I had discussed this offline some time ago, to work through the ramifications. I think his proposal is safe. For example: org.apache.tlp.util.SecurityUtil { //simplified public static Class loadClass(String classname) { return Class.forName(classname); } } Note that Secur

[privilizer] new idea to improve usability

2012-12-30 Thread Mark Struberg
Hi! Not sure if this is worth doing, but could be nice from a usability pov. Usually projects have a lot of blocks which need doPrivileged copied over from one class to the other. Using @Privileged makes this a lot easier. But you still need to add private methods to all your classes... Now i