[jcifs] Strange Authentication issue...

Edwin Antigua Baez eantigua at hotmail.com
Wed Aug 27 13:49:58 GMT 2008


Hi,
Intranet application, several applications working fine with windows authentication. Apache Tomcat 5.0.28.
 
Working in windows XP everything goes normal... now changed to Vista and every page that perform a redirect or forward (jsp) appears a dialog asking for authentication again...
 
this is my web.xml setup in one application:
 
 
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
    <!--Librerias Estandares de JSTL -->    <taglib>        <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>        <taglib-location>/WEB-INF/tags/sql.tld</taglib-location>    </taglib>    <taglib>        <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>        <taglib-location>/WEB-INF/tags/c.tld</taglib-location>    </taglib>    <taglib>        <taglib-uri>http://java.sun.com/jstl/xml</taglib-uri>        <taglib-location>/WEB-INF/tags/x.tld</taglib-location>    </taglib>    <taglib>        <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>        <taglib-location>/WEB-INF/tags/fmt.tld</taglib-location>    </taglib>    <taglib>        <taglib-uri>http://java.sun.com/jstl/functions</taglib-uri>        <taglib-location>/WEB-INF/tags/fn.tld</taglib-location>    </taglib>    <!-- Fin de Librerias Estandares de JSTL -->
    <!-- Archivo de Inicio de la aplicacion -->    <welcome-file-list>            <welcome-file>Iniciar.jsp</welcome-file>    </welcome-file-list>    <!-- Fin Archivo de Inicio de la aplicacion -->
    <!-- Filtro para la autenticacion de Usuarios a traves del Dominio -->    <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>192.168.1.55</param-value>            </init-param>
 
            <init-param>                <param-name>jcifs.smb.lmCompatibility</param-name>                <param-value>3</param-value>            </init-param>
        </filter>
        <filter-mapping>            <filter-name>NTLM HTTP Authentication Filter</filter-name>            <url-pattern>/*</url-pattern>        </filter-mapping>        <!-- Fin del Filtro -->
    <!-- Variables globales a nivel del web.xml -->
    <!-- Nombre del servidor de correo  -->    <env-entry>        <env-entry-name>mailServer</env-entry-name>        <env-entry-type>java.lang.String</env-entry-type>        <env-entry-value>exsvr.inst.gov.do</env-entry-value>    </env-entry>
</web-app>
 
 
 
"I wish i was the pedal brake that you depended on... i wish i was the verb 'to trust' and never let you down".- Eddie Vedder "WishList".-
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger.  Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list