Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NTLM Authentication

843838Dec 22 2005 — edited Dec 23 2005
Hi,

We are using JSP/Servlet engine and Struts framework to build a web app and we want to put security in the app by reading windows login automatically (not showing any popup or login screens.)

We have tried following approach but failed.
---------------------------------------------------------------------------------
NTLM Authentication: NTLM is Windows NT LAN Manager.

The process with this protocol can be described as a 3 request/response "handshake". So doGet() will be called three times. It successfully gives us the Windows user id when implemented in a single JSP.

But the problem arises when we integrate it with other JSPs or Struts framework. It creates a problem in the doPost() method and it cannot be used at all anywhere in the application. The Websphere servlet container refuses to recognize the doPost() method.
---------------------------------------------------------------------------------

Is there way out here? or any approach i can take?

Please help!

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2006
Added on Dec 22 2005
2 comments
150 views