dcsimg
Obtaining IIS authenticated usernames from Servlets using JAAS
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Beatty
Posted On:   Wednesday, December 5, 2001 07:47 AM

I have a JSP/Servlet application running on IIS. IIS is using basic authentication to authenticate users against the underlying NT system. I would like obtain the NT username of the user using the session. Is there anyway this can be done?



I tried using the NTSystem class in the com.sun.security.auth.module package from Sun to get the username, but although IIS claims to "pretend" to log in using the authenticated users credentials at every request, the username that was returned was "SYSTEM". Any ideas?



Thanks,

Rich.

About | Sitemap | Contact