Adding dropwizzard servlet filter is not working.. it is not getting 
invoked nor i see the loggers getting printed from the filter class.

I have implemented a class that implements filters and added the same to 
the server application


Any help is appreciated.

Purpose of my filter: when application starts i want to get my filter 
invoke and get my application redirected to a url(for SSO authentication). 
and get the page returned back to my application after authentication..I 
have done a similar set up for couple of my other java application which 
are not on dropwizard based.


What will be the difference in this case?


i do not see any logger statements that i have added on the filter class 
getting printed on my logs. How to see my filter getting executed.



Code snippet used to add the filter:

environment.servlets().addFilter("SsoAuthFilter", new SsoAuthFilter())

        .addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST), true, 
"/*");



tried giving with the context path as well.


Regards,

Sudha Jenslin

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to