Skip to content
Tomcat valve that maps the request IP address to an HTTP header
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources
src
.gitignore
README.md
pom.xml

README.md

ip-mapper-valve

Request IP address to HTTP header mapping valve for Tomcat

Usage

<Valve className="edu.umd.lib.tomcat.valves.IPAddressMapper"
  mappingFile="path/to/mapping.properties"
  headerName="Some-Header" />

The properties file keys are the principal names and the values are lists of one or more IP addresses or IP address blocks in CIDR notation (e.g., 192.168.0.0/24).

You can’t perform that action at this time.