[jcifs] JCIFS NTLM on WLS 9.2

JavaSeth seth.helstrip at bankofamerica.com
Fri Apr 27 10:56:48 GMT 2007


Hi there,
Wondering whether there's anyone out there who's experienced a similar
problem to me, when implementing NTLM security through JCIFS on Weblogic
9.2.  The application was previously developed on Apache Tomcat 4 - where it
ran without any issues.

However, when porting to WLS, it seems that if an NTLM filter is applied,
the server is making multiple (3 in total) requests, to the same servlet. 
It also requests authentication 3 times via a pop up (Tomcat uses the OS to
authenticate).  Without the filter (and hence security), only a single
request is made to the servlet.

The config of the filter is pretty standard (below), so I can't see where
I'm going wrong.  Without Weblogic source code, it's difficult to get to the
root of the problem.  Any help will be greatfully received.  

Thanks in advance,
Seth


from web.xml...

<!-- Security -->	    
<filter>
    <filter-name>NtlmHttpFilter</filter-name>
    <filter-class>jcifs.http.NtlmHttpFilter</filter-class>

    <init-param>
        <param-name>jcifs.netbios.wins</param-name>
        <param-value>my.net.bios.address</param-value>
    </init-param>
    <init-param>
        <param-name>jcifs.smb.client.domain</param-name>
        <param-value>defaultDomain</param-value>
    </init-param>

</filter>

<filter-mapping>
    <filter-name>NtlmHttpFilter</filter-name>
    <url-pattern>/*.view</url-pattern>
</filter-mapping>

-- 
View this message in context: http://www.nabble.com/JCIFS-NTLM-on-WLS-9.2-tf3657006.html#a10217007
Sent from the Samba - jcifs mailing list archive at Nabble.com.



More information about the jcifs mailing list