[jcifs] Problem with NtlmHttpFilter filter in Tomcat and IE

Suma Antony suma.antony at wellsfargo.com
Tue Jan 16 22:30:29 GMT 2007


HI , I  am trying to use NtlmHttpFilter  for  authentication . This works file 
in Mozilla but in IE it is giving a page not found error when i try to bring 
up the application . I am using jcif 1.2.13b4.jar and Tomcat 5.5.20 .  Can 
some one help me ?  I am confused about this working fine in Mozilla but not 
in IE . Is there any set up required for IE  and tomcat 5.5 ?  

My  web.xml is 

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
	<display-name>ReleaseCalendar</display-name>
	
		
		
	
	<welcome-file-list>
		<welcome-file>index.jsp</welcome-file>
	</welcome-file-list>
	
	<filter>
	    <filter-name>NtlmHttpFilter</filter-name>
	    <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
	    <init-param>
		<param-name>jcifs.smb.client.domain</param-name>
		<param-value>AD-ENT</param-value>
	    </init-param>
	    <init-param>
		<param-name>jcifs.netbios.wins</param-name>
		<param-value>10.27.206.121,10.91.218.133</param-value>
	    </init-param>
	</filter>
	<filter-mapping>
	    <filter-name>NtlmHttpFilter</filter-name>
	    <url-pattern>/*</url-pattern>
	</filter-mapping>
	
  	<servlet>
		<servlet-name>calendar</servlet-name>
		<servlet-
class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
		<load-on-startup>1</load-on-startup>		
	</servlet>
	
	<servlet-mapping>
    	<servlet-name>calendar</servlet-name>
	    <url-pattern>*.htm</url-pattern>
     </servlet-mapping>  
	
	<jsp-config>
	<taglib>
    	<taglib-uri>/spring</taglib-uri>
	    <taglib-location>/WEB-INF/spring.tld</taglib-location>
	</taglib>
	</jsp-config>


	
	</web-app>




More information about the jcifs mailing list