Skip to content

Tomcat valve that maps the request IP address to an HTTP header

Notifications You must be signed in to change notification settings

umd-lib/ip-mapper-valve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Tomcat valve that maps the request IP address to an HTTP header

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages