Actually, a non-privileged aspect is allowed to advise non-public methods and fields. It can't call or access them: for that you would need a privileged aspect. We use non-privileged aspects that advise non-public methods extensively in Glassbox.
Vasumathi, I'd be interested to know where you put the compiled aspect and aspectjrt.jar for this application: is it in WEB-INF/lib? Are you using compile-time or load-time weaving? _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron DiFrango Sent: Wednesday, May 02, 2007 7:51 AM To: [email protected] Subject: RE: [aspectj-users] I had a problem please help me I think your aspect needs to be marked as privileged access the protected method. privileged aspect Hello { .... } See the following: <http://www.eclipse.org/aspectj/doc/released/progguide/semantics-aspects.htm l> http://www.eclipse.org/aspectj/doc/released/progguide/semantics-aspects.html Ron DiFrango Senior Consultant _____ From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Wed 5/2/2007 9:55 AM To: [email protected] Subject: Re: [aspectj-users] I had a problem please help me Yes I have Vasumathi > Do you have aspectjrt.jar on the classpath? > > Yawn !! > > ----- Original Message ---- > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: [email protected]; [EMAIL PROTECTED] > Sent: Monday, April 30, 2007 10:29:18 PM > Subject: [aspectj-users] I had a problem please help me > > Hello Guyz, > > I am working on WebGoat(web application) project as of my research work. I > am trying to write some aspects to improve the security of the Webgoat > aplication. > > I wrote a simple aspect to say hello when a servlets doPost() is called. > But I am AspectNotBoundException. I don't have any idea, why it is coming > and how can solve that. > > I did deploy the project as it was mentioned in the aspectJ cook book. > > Please help me. > Thank you, > Vasumathi. > > > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
<<attachment: winmail.dat>>
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
