Intercept bean production and/or bean method calls in in Aries Blueprint

2015-03-16 Thread Matthias Seidemann
Hello everyone, In my application I want to intercept the calls of service-methods and check if the currently logged in user has permissions to do so. I already found the "org.apache.aries.blueprint.Interceptor" Interface to do that, but I don't really know how I can tell aries to call my Intercep

Re: Intercept bean production and/or bean method calls in in Aries Blueprint

2015-03-16 Thread Christian Schneider
Take a look at the blueprint-authz module. It does a very similar thing ... maybe even exactly what you want :-) If not it should still be easy to enhance it. See https://fisheye6.atlassian.com/browse/~br=trunk/aries/trunk/blueprint/blueprint-authz I had to use a namespace and even a custom e

Re: Intercept bean production and/or bean method calls in in Aries Blueprint

2015-03-16 Thread Matthias Seidemann
Thank you, that really helps a lot. I thought that I have to add the custom element for every bean, but once per file is not a big thing. Best regards, Matthias 2015-03-16 17:37 GMT+01:00 Christian Schneider : > Take a look at the blueprint-authz module. It does a very similar thing > ... maybe