[jcifs] null successfully logged in
Ramrakhiani, Vikas
Vikas-Ramrakhiani at deshaw.com
Fri Apr 11 22:14:15 EST 2003
Thanks Eric and Michael. The wrong placement of filter mapping tags was the
source of error.
thanks for your help,
vikas.
-----Original Message-----
From: Eric [mailto:eglass1 at attbi.com]
Sent: Friday, April 11, 2003 5:53 AM
To: Allen, Michael B (RSCH)
Cc: Ramrakhiani, Vikas; 'jcifs at lists.samba.org'
Subject: Re: [jcifs] null successfully logged in
Allen, Michael B (RSCH) wrote:
> Read this:
>
> http://jcifs.samba.org/src/docs/ntlmhttpauth.html
>
> and the part about the NtlmAuthExample. Can the filter mapping
> be inside the filter tags?
>
> Mike
>
>
>>-----Original Message-----
>>From: Ramrakhiani, Vikas [SMTP:Vikas-Ramrakhiani at deshaw.com]
>>Sent: Thursday, April 10, 2003 4:38 PM
>>To: 'jcifs at lists.samba.org'
>>Subject: [jcifs] null successfully logged in
>>
>>I tried running the NTLM HTTP Authentication Example. I am getting 'null
>>successfully logged in'.
>>
>>I added following to my applications web.xml file.
>> <filter>
>> <filter-name>NTLM HTTP Authentication Filter</filter-name>
>> <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
>> <init-param>
>> <param-name>jcifs.http.domainController</param-name>
>> <param-value>149.77.160.35</param-value>
>> </init-param>
>> <filter-mapping>
>> <filter-name>NTLM HTTP Authentication Filter</filter-name>
>> <url-pattern>/*</url-pattern>
>> </filter-mapping>
>> </filter>
>>
>>Am I missing something?
>>
>>thanks for your help,
>>vikas.
>
>
>
No, it can't. This would be an unmapped filter (i.e., not filtered at
all, which is why no authentication would take place). See:
http://java.sun.com/dtd/web-app_2_3.dtd
for the deployment descriptor DTD.
Eric
More information about the jcifs
mailing list