If you want to return the username you will need to turn off Anonymous
access.  The prompt by the web page for a username is most likely a
trust issue.  Have you Active Directory group add this site, and any
aliases, to the intranet zones site.

Thanks,
Andrew Baxter
Manager, Information Technology
w. (781) 902-6026
f. (781) 902-6002
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Heider, Stephen
Sent: Tuesday, May 02, 2006 10:00 AM
To: [email protected]
Subject: Get User Login with SSL

SSL is now deployed on our production mid-tier server and works fine,
even works great on the Blackberry.  However...

Once SSL is enabled I had to enable Anonymous Access (along with the
previously enabled Integrated Windows Authentication).  When Anonymous
Access was disabled and with SSL enabled any access to the web server
(Remedy or even static html pages) would prompt the user to enter their
Windows network user name and password.

When Anonymous Access is enabled the Remedy web applications run fine,
except that the function request.GetRemoteUser() now only returns Null.

Here are the functions that used to return the user name and domain name
of the user. *From the thread "Mid-Tier 6.3 - Get User Name - Bug?" from
Apr 05.

function env_RemoteUser_Login() { 
  var return_value = "<%=request.getRemoteUser().replace('\\', ' ')%>";
  var pos = return_value.indexOf(' ');
  if (pos > 0) return (return_value.substring(pos+1, 99));
return (return_value);
}

function env_RemoteUser_Domain() { 
  var return_value = "<%=request.getRemoteUser().replace('\\', ' ')%>";
  var pos = return_value.indexOf(' ');
  if (pos < 0) return ('');
  return (return_value.substring(0, pos));
}

Has anyone been able to get request.getRemoteUser() to return the
domain\username when Anonymous Access is enabled?

I did read the "JSP, Javascript, GetRemoteUser, and Mid-tier 6.3" thread
from Dec 05.

Thanks.

Stephen

ARS 6.3 p5
Mid-Tier 6.3 p16
Windows Server 2003 (all computers and servers running in the same
domain)
IIS 6
New Atlantic 5
All computers using Windows XP (all patches)
All computers using IE 6 (all patches)

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

****This e-mail is sent by Hudson Highland Group, Inc., or one of its 
subsidiaries, and may contain information that is privileged or confidential. 
If you are not the intended recipient, please delete the e-mail and any 
attachments and notify us immediately.****

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to