[jcifs] NTLM Authentication Regarding.
eglass1 at attbi.com
eglass1 at attbi.com
Thu Apr 17 22:24:58 EST 2003
> Hi All
>
> I have added NTLM authentication for a application running on Apache + Tomcat +
> Linux. NtlmFilter is set for the folder containing the application in tomcat
> server. Whenever someone visits the URL because of the filter, user name
> password dialog box is appearing. In fact, I could set to automatic logon with
> current user name and password in IE. But I need it to prompted when the
> supplied credentials are wrong.
>
> What I want to know is .... how to make this username/password dialog box appear
> ony when the logged in username/password is incorrect?.
>
What version of jCIFS are you using? The later versions (0.7.3+, I think) will
restart the authentication process upon failure. Internet Explorer will prompt
upon the restart, which I think is what you are looking for. Basically, you
should be able to set IE to "Automatic Logon"; if the credentials cannot be
authenticated, jCIFS will ask the browser for authentication again, and IE will
prompt for new credentials.
Eric
More information about the jcifs
mailing list