-
1. Re: Block/allow access from certain address/IP
ctomc Feb 10, 2014 4:44 AM (in response to garcia-jj)Hey,
this option is currently not available to be configured in subsystem.
However you can write your own ServletExtension that is deployed as part of your application and it allows you to add any extra handler to handler chain you would like.
We plan to add much more handlers / filters in the future to the subsystem but for now ServletExtension is the way to go.
see http://undertow.io/documentation/servlet/using-non-blocking-handlers-with-servlet.html for more.
--
tomaz
-
2. Re: Block/allow access from certain address/IP
sanjay05222 Mar 26, 2015 8:53 PM (in response to ctomc)Hi Tomaz ,
Tomaz Cerar wrote:
Hey,
this option is currently not available to be configured in subsystem.
However you can write your own ServletExtension that is deployed as part of your application and it allows you to add any extra handler to handler chain you would like.
We plan to add much more handlers / filters in the future to the subsystem but for now ServletExtension is the way to go.
see http://undertow.io/documentation/servlet/using-non-blocking-handlers-with-servlet.html for more.
--
tomaz
As of Today is above referred solution is implemented or do I have to still go ahead and write the servlet extension as you suggested ?
Were you able to implement the solution please to let me know and also for the benefit of community if you can share here it will be great .?
thanks
Sanjay Gautam