Is it possible to pass REMOTE_USER as an environment variable using mod_cluster to a JBoss EAP 5.x worker node?

Solution Verified - Updated -

Issue

  • AJP connector with mod_jk is being used and REMOTE_USER was passed to JBoss EAP as an Environment Variable. Using mod_rewrite Reference as following:
RewriteCond %{LA-U:REMOTE_USER} (.*)
RewriteRule .* - [E=AJP_REMOTE_USER:%{LA-U:REMOTE_USER}]
  • Is it possible to send REMOTE_USER as an environment variable from mod_cluster using AJP to a JBoss EAP5 worker node?

Environment

  • Apache httpd 2.2.15
  • mod_cluster 1.0.x
  • Red Hat JBoss Enterprise Application Platform (EAP) 5.x
  • Red Hat Enterprise Linux (RHEL) 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content