User Tools

Site Tools


auth:ex1

This is an old revision of the document!


Authentication: Tracing

Create a new aspect named AccessControl. Define a pointcut named restricted() that selects the execution of all methods or constructors that carry the @Authenticated annotation.

The signature pattern used with an execution primitive pointcut can include an annotation to look for. You will need one execution primitive pointcut with a method signature pattern and one with a constructor signature pattern.
auth/ex1.1172505156.txt.gz · Last modified: 2007/02/26 16:52 by bdefrain