Re: windows integrated authentication question

From: Tom Kaminski [MVP] ((A_at_T))
Date: 03/09/04


Date: Tue, 9 Mar 2004 16:15:18 -0500


"Stephanie Stowe" <stowe@whackthisvsac.org> wrote in message
news:OTG5QjhBEHA.624@TK2MSFTNGP10.phx.gbl...
> I am writing a JSP application. I have a servlet container (actually a
> Websphere application server) running on an IBM iSeries. I have a Windows
> machine running IIS as my HTTP server.
>
> I have a web site (folder under "default web site" within web sites). All
is
> working fine for authentication purposes since this is an internal app and
> we are all running IE.
>
> I need to retrieve the user's name (only, not password). I cannot
understand
> how this information is being sent from the browser in the request so I
> cannot figure out how to get the user name information. The help says:
>
> ..."is a secure form of authentication because the user name and password
> are hashed before being sent across the network. When you enable
Integrated
> Windows authentication, the user's browser proves its knowledge of the
> password through a cryptographic exchange with your Web server, involving
> hashing."
>
> I am not knowledgable enough to understand what this means.
>
> I would know how to do this in ASP. But alas, we are not using ASP. Can
> anyone point me to a direction to do this with straight up HTML, JSP or a
> Java servlet? I would appreciate it.

Wish I could help you, but I don't know JSP. I *can* tell you that you
can't do it with plain HTML.

-- 
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/


Relevant Pages

  • Re: Securing Data Transfer
    ... the user before I allow them to put anything on our server. ... Our authentication is Form based Authentication through ... > You should be able to add the applet to the JSP page. ... >>combination of applications written with either Vignette, ...
    (comp.security.misc)
  • Re: J2ME or network programming or...what do you recommend?
    ... I started doing the servlets along with the JSP. ... Well depending on how dynamic you want the client to ... needed) to java server programs? ...
    (comp.lang.java.programmer)
  • Re: How to open the jsp pages by click on the APPLET
    ... I want to know is there is any way to open the new window of jsp ... By this i get only html tags nothing beyond that.That is not my ... requirement.Will give syntax for getting jsp page on applet. ... only load URLs from the same server as the containing page ...
    (comp.lang.java.advocacy)
  • Re: Please Answer Newbie Question
    ... > Servlet and JSP classes are not in the J2SE, ... > the application server as a separate download. ... > that you're going to develop servlets and JSP. ... Just install *that* server, and use the ...
    (comp.lang.java.programmer)
  • Re: Differnce between Java Bean and Enterprise Java Bean
    ... > server components. ... Enterprise Java Bean was probably not the best name ... > the enterprise applications then JBoss is good choise. ... pre-wired version with Tomcat or Jetty as the servlet container). ...
    (comp.lang.java.programmer)