[jcifs] null successfully logged in

Eric eglass1 at attbi.com
Fri Apr 11 10:22:54 EST 2003

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></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,

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:


for the deployment descriptor DTD.


More information about the jcifs mailing list