[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>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