changed to:
private void addFilterConfig(final Context context, final FilterDef filterDef) {
// hack to force filter to get a config otherwise it is
ignored in the http routing
try {
final Constructor cons =
ApplicationFilterConfig.class.getDeclaredConstructor(Context.c
2014-09-16 15:16 GMT+02:00 Konstantin Kolinko :
> 2014-09-15 23:01 GMT+04:00 Romain Manni-Bucau :
>> Hi guys,
>>
>> in TomEE I'd like to add a filter but after context filter are started
>> (means filterStart() from StandardContext is called).
>>
>
> Why? What is the use case?
>
we add a filter wi
2014-09-15 23:01 GMT+04:00 Romain Manni-Bucau :
> Hi guys,
>
> in TomEE I'd like to add a filter but after context filter are started
> (means filterStart() from StandardContext is called).
>
Why? What is the use case?
You code adds filter definitions. A filter definitions just associates
filter
Hi guys,
in TomEE I'd like to add a filter but after context filter are started
(means filterStart() from StandardContext is called).
What I do today is:
try {
final Field def =
StandardContext.class.getDeclaredField("filterDefs");
if (!def.isAccessible()) {