Trying to getRemoteUser() on Tomcat after authentication with mod_auth_pam

G

goykhmanster

Hi

I am trying to get a value of request.getRemoteUser() and I get null. I
am using mod_auth_pam authentication package on Apache that
authenticates user against Active Directory.

Authentication piece works fine, but I need to grab user ID and I can't
seem to find a way. My app is running on Apache 2, Tomcat 5.5 on Fedora
Core 3 and as I go into my app i get prompted for user name (which is
actually Domain\username) and password.

There has to be a way to get user data into request header and be able
to read it in a servlet, but if someone could give me a pointer, it
would be great. Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top