<?xml version="1.0"?>
<!--

    Sonatype Nexus (TM) Open Source Version
    Copyright (c) 2007-2014 Sonatype, Inc.
    All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.

    This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
    which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.

    Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
    of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
    Eclipse Foundation. All other trademarks are the property of their respective owners.

-->
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"><!-- =============================================================== -->
<!-- Configure the Jetty Request Log                                 -->
<!-- =============================================================== -->

<Configure id="Server" class="org.eclipse.jetty.server.Server">

    <Get id="oldhandler" name="handler"/>

    <Set name="handler">
     <New id="IPAccessHandler" class="org.eclipse.jetty.server.handler.IPAccessHandler">
      <Set name="handler"><Ref id="oldhandler"/></Set>
      <!-- example whitelist -->
      <!--
      <Set name="white">
        <Array type="String">
          <Item>127.0.0.1</Item>
          <Item>127.0.0.2/*.html</Item>
        </Array>
      </Set>
      -->
      <!-- example blacklist -->
      <!-- <Set name="black">
        <Array type="String">
          <Item>127.0.0.1</Item>
          <Item>192.168.2.97</Item>
        </Array>
      </Set>
      -->
     </New>
    </Set>

</Configure>
