It is not java code.  As I stated, I inherited this stuff.  In speaking to my 
co-worker, he basically said that the DNS entry maps to an ASP page that 
contains the code below and then that value is sent back to my index.jsp page 
where I grab it via a servlet and validate it through my java code.  Working 
with IIS I found to be a major issue and so on another java app where I do AD 
authentication, we use the Waffle product and it's fantastic and very easy to 
get up and running.

Sorry for the confusion.  Regards.  

-----Original Message-----
From: André Warnier [mailto:a...@ice-sa.com] 
Sent: Thursday, July 14, 2011 9:01 AM
To: Tomcat Users List
Subject: Re: Passing user id from web page to tomcat webapp

Savoy, Melinda wrote:
> David,
> 
> You might try the following, instead of getRemoteUser, as we use this to get 
> the USERID from IIS.  I inherited this code so I really can't speak to it a 
> lot but it's working.
> 
> Regards.
> 
> 
> ' **** get user ID from header ******************
> 
>   XUserID = Request.ServerVariables("AUTH_USER")
>    
>   L=Len(XUserID)
>   
>   if L > 0 then
>      Pos = InStr( XUserID,"\")
>      
>      if Pos > 0 then
>         ID = Right(XUserID,(L-Pos) )
>         strUserID = ID
>      end if
>   else
>               strUserID = XUserID
>   end if
> 
> isUserID = strUserID
> 

Melinda,

*where* is that thing working ?
It doesn't look like any Java code to me ..


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to