Hi Venkat,
You have to configure your web application to use integrated windows Authentication. Setting in the IIS and use
servlet api to get the user info and display in the web page.
and then try this
<html><body>
<p>
<b>Information about request:</b><br/>
<%
out.println("Auth Type: "+request.getAuthType()+"<br/>");
out.println("Remote User: "+request.getRemoteUser()+"<br/>");
out.println("Requested Session ID: "+request.getRequestedSessionId()
+"<br/>");
out.println("Headers:<br/>");
java.util.Enumeration e = request.getHeaderNames();
while (e.hasMoreElements()) {
String n = (String) e.nextElement();
out.println(" "+n+": "+request.getHeader(n)+"<br/>");
}
%>
</p>
</body></html>
Thanks,
RajN - (SCJP,SCWCD,SCBCD,SCSA,IBM XML 142 )
http://www.geocities.com/n_rajasekar/index.html
You do what you love, love what you do and always deliver more than you promise