Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty IP access per connector

Dear Jetty folks:

Let's say I am enabling the ipaccess module on jetty:


<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "">

<!-- =============================================================== -->
<!-- The IP Access Handler -->
<!-- =============================================================== -->

<Configure id="Server" class="org.eclipse.jetty.server.Server">
<Call name="insertHandler">
<New id="IPAccessHandler" class="org.eclipse.jetty.server.handler.IPAccessHandler">
    <Set name="white">
     <Array type="String">
    <Set name="whiteListByPath">false</Set>

Then I enable it with jetty/home/start.jar --add-to-start=ipaccess

But I want this filter to only apply to the http connector. I do not want it to apply to my https connector.

How do I configure it so that it only affects the http module, not the https module?

I have created a stackoverflow of my question here as well and assigned a bounty of 50 points to it.

Back to the top