[jcifs] JCIFS Pops up dialog box for Authenticating certain users
parkerman at gmail.com
Fri Jul 11 05:41:37 GMT 2008
On Fri, Jul 4, 2008 at 11:31 AM, Vivek Mehtani <vivek.mehtani at gmail.com> wrote:
> We need to configure JCIFS for single sign on silently passing the
> credentials. For this we have configured the NtlmHttpFilter in the following
> manner in our web.xml file. The problem we are facing is that for certain
> users it works perfectly fine but for certain users it pops up a dialog box
> for the credentials . if the user provides the correct credentials then user
> gets authenticated.
> But we would like every user to be authenticated silently.
> can some one suggest what is wrong in the below configuration that it
> doesn't work for all users ?
> Thanks & Regards,
> Vivek Mehtani
> View this message in context: http://www.nabble.com/JCIFS-Pops-up-dialog-box-for-Authenticating-certain-users-tp18283528p18283528.html
> Sent from the Samba - jcifs mailing list archive at Nabble.com.
I was having this problem as well, until I enabled preauthentication
http://jcifs.samba.org/src/docs/ntlmhttpauth.html#signing). Try adding
jcifs.smb.client.username and jcifs.smb.client.password init-params.
This is obviously not an ideal solution since you have to put a
plaintext domain password in your web.xml, so you'd have to get
creative if you wanted it to be more secure.
More information about the jcifs