Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

@Interceptor decorated custom annotation  RSS feed

 
Stefan Rasmusson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'm looking to make a custom annotation, Secure. I would like this annotation to act as an interceptor that makes some security checks.
The reason i want this is because i would like to pass arguments to my security method through the annotation.
Some thing like this:

Annotation


SecureBean


intercept


Does anyone have an idea if this is possible
Thanks

/Stefan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!