download jcifs.jar from http://jcifs.samba.org, and use it as a filter in your 
web.xml file.

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.4" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  Application Description
  <display-name>Application Display Name</display-name>

  
    <!-- JCIFS FILTER FOR NTLM -->
    <filter-name>NtlmHttpFilter</filter-name>
    <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
    <init-param>
      <param-name>jcifs.http.domainController</param-name>
      <param-value>00.00.00.00</param-value>
    </init-param>
    <init-param>
      <param-name>jcifs.smb.client.domain</param-name>
      <param-value>your-domain-name</param-value>
    </init-param>
    <init-param>
      <param-name>jcifs.smb.client.username</param-name>
      <param-value>ldap-user-to-authenticate</param-value>
    </init-param>
    <init-param>
      <param-name>jcifs.smb.client.password</param-name>
      <param-value>ldap-user-password</param-value>
    </init-param>
  
  <filter-mapping>
    <filter-name>NtlmHttpFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
</web-app>



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906588#3906588

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906588


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to