[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread Bill Burke
I don't believe you can intercept code with JSPs within precompiling the JSPs. You MAY be able to do this with JDK 5.0 and our instrumentor, or the new JDK 1.4 classloader stuff we have in HEAD. Kabir is going to take a look. View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread hany_bee
What's this new classloader stuff that you guys have in head? Mind sharing the concept a little bit? What I'm trying to do is to prototype some security framework that can be applied to web applications in a more or less uniform way. Unfortunately, having a clean and clear-cut interceptor

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread Bill Burke
JBoss AOP works in two ways. Either you precompile your Java .class files to push in the AOP stuff, or you set JBoss AOP up so that it does the bytecode transformations at runtime when the class is loaded. Load-time transformation requires hooks into the classloader. With JDK 1.4, we

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread nthx
Hi. My penny to disscussion. I have Struts application and been using Tomcat server. I'd like to use JBossAOP with it. So what I've tried is: precompiled my plain servlets, jsps (in Struts meaning) with jasper/jspc. This way I got sources of my web pages for my application. As I have sources

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread hany_bee
Thanks for the explanation. The idea for the security framework is that, the declarative security model is static, and it's very hard to do dynamic access control management. For example, say I have a content management app, which I want to hook to an external acess manager. Let say I can

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread nthx
Hey, thanks for explaining diff between static and dynamic sec model. I will need dynamic one in some application and was wondering whether to use already written JBoss' security aspects. Tomasz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851733#3851733

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread Bill Burke
hany_bee, What about a servlet filter or a Tomcat valve? This is how we implemented JBoss Security integration with Tomcat. If you're dealing with web requests (HttpServletRequests), then a filter or valve is probably a better solution anyways... Thomas, Kabir is working on JSP side of