IPAccessHandler works fine for IPv4 and will still be around in Jetty 9.x.

There is a new InetAccessHandler (as you discovered) that works for IPv4
and IPv6 and is the replacement for IPAccessHandler.
See https://github.com/eclipse/jetty.project/issues/882

BTW, Jetty 10.x already has IPAccessHandler removed (along with all other
deprecated classes/methods).
See  https://github.com/eclipse/jetty.project/issues/1695
and  https://github.com/eclipse/jetty.project/issues/1676

This removal of the deprecated IPAccessHandler introduced the replacement
in jetty-10.0.x
See
https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/jetty-server/src/main/config/modules/inetaccess.mod
See
https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/jetty-server/src/main/config/modules/inetaccess/inetaccess.xml


Joakim Erdfelt / [email protected]


On Tue, Mar 19, 2019 at 7:06 AM Oblio Leitch <[email protected]> wrote:

> I'm trying to configure Jetty to restrict access by IP.  The native xml
> configuration uses the IPAccessHandler, but according to the documentation
> that's deprecated.  Is the official implementation using it's own
> deprecated classes?  I can't find any documentation or examples for using
> the replacement InetAccessHandler class.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to