Skip to content

Custom Tomcat valve that will set the remote user to a different specified header

Notifications You must be signed in to change notification settings

bjagg/remote-user-valve

Repository files navigation

remote-user-valve

Quick Start

Here is a quick recipe to get started.

  1. Download the jar

  2. Copy jar to Tomcat's lib/

  3. Add the following line to conf/logging.properties for testing

    org.jasig.tomcat.valves.level = FINE
  4. Add the following to conf/server.xml inside "localhost" Host just before other valves

    <Valve className="org.jasig.tomcat.valves.RemoteUserValve"
            userHeader="HTTP_USER_NAME" />
  5. Restart Tomcat

  6. Check catalina.out for logging from RemoteUserValve

About

Custom Tomcat valve that will set the remote user to a different specified header

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages