Felix Meschberger schrieb:
Hi,
Yes. And if you have the scr plugin generate the Metatype data (not
setting metatype="no" on the @scr.component tag) you will be able to
configure the properties on the Configuration page of the Web Console.
Wow, it works. This is pretty dramatic, imho. Changing a property even
automatically calls the init() method. Superb!
This live-configuration possibility sounds superb for my use case: I am
trying to integrate WebCastellum (http://www.webcastellum.org) with
Sling. WebCastellum is a web application firewall implemented as filter.
This WAF is configured via init-param. The possibilty to configure that
WAF in real-time is intriguing...
Interesting. Would you be able to provide some description of this in
the Wiki ? Thanks in advance.
What are you exactly interessted in: the possibility to integrate a 3rd
party filter into Sling, or the WAF functionality for?
I would have to factor out the usage of the maven-scr-plugin in the
first case (because I am fiddling around in the source code atm), and
for the second case I would have to get this stuped filter to run like
it should:). And then try to configure it sensibly for Sling.