[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [aspectj-users] How to ensure your jars will never be weaved byaspectJ
- From: "Eric Bodden" <eric.bodden@xxxxxxxxxxxxxx>
- Date: Wed, 8 Feb 2006 00:56:06 -0500
- Delivered-to: firstname.lastname@example.org
- Thread-index: AcYrvnpCw6x8isxTSpOZy/E5IUIBeQAtd+eV
- Thread-topic: [aspectj-users] How to ensure your jars will never be weaved byaspectJ
Just out of curiosity - does signing also affect static weaving? Or does that only help in the case of load time weaving (cause that's what I thought...)?
Sable Research Group
McGill University, Montréal, Canada
From: aspectj-users-bounces@xxxxxxxxxxx on behalf of Adrian Colyer
Sent: Tue 07.02.2006 03:13
To: Wes Isberg; aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] How to ensure your jars will never be weaved byaspectJ
If you *only* care about AspectJ (and not any of the many other tools
that can do byte code enhancement), you can weave the jar yourself
with the -XnotReweavable flag. Once woven with this flag on, AspectJ
will not reweave those types again.
Wes' suggestion of signing and sealing is much prefered though. It
copes in all cases.
On 06/02/06, Wes Isberg <wes@xxxxxxxxxxxxxx> wrote:
> As with other Java code, sign/seal the jar and control the deployment
> to not use any bytecode weaver. Also, if you obfuscate the code, it
> will be harder to make sense of anything.
> AspectJ offers the same guarantees as Java in this respect.
> > ------------Original Message------------
> > From: Kaare Nilsen <kaare.nilsen@xxxxxxxxx>
> > To: aspectj-users@xxxxxxxxxxx
> > Date: Mon, Feb-6-2006 11:57 AM
> > Subject: [aspectj-users] How to ensure your jars will never be weaved by aspectJ
> > Hi..
> > Anyone who would like to tell me how I would go about making sure my
> > jarfile never can be inspected by aspects after deployment..
> > Lets say i have code in my jars that i did not want to expose the
> > inner workings of, how do I then ensure that no one can e.g. take a
> > tracing aspect so that they could look at my calls, and intercept them
> > ?
> > /Kaare
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/aspectj-users
> aspectj-users mailing list
aspectj-users mailing list