shuber      2005/08/10 20:40:42 CEST

  Modified files:
    core                 project.xml 
    core/src/webapp/WEB-INF web.xml 
  Log:
  Added possibility to use JCIFS NTLM HTTP Filter. Not yet tested though. More 
information about this library can be found here :
  http://jcifs.samba.org/
  
  Revision  Changes    Path
  1.69      +10 -0     jahia/core/project.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/project.xml.diff?r1=1.68&r2=1.69&f=h
  1.17      +23 -0     jahia/core/src/webapp/WEB-INF/web.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/WEB-INF/web.xml.diff?r1=1.16&r2=1.17&f=h
  
  
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/repository/jahia/core/project.xml,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- project.xml       8 Aug 2005 15:01:26 -0000       1.68
  +++ project.xml       10 Aug 2005 18:40:41 -0000      1.69
  @@ -310,6 +310,16 @@
         </properties>
       </dependency>
       <dependency>
  +      <groupId>jcifs</groupId>
  +      <artifactId>jcifs</artifactId>
  +      <version>1.2.1</version>
  +      <url>http://jcifs.samba.org/</url>
  +      <properties>
  +        <war.bundle>true</war.bundle>
  +        <jbuilder.plugin.autoupdate>false</jbuilder.plugin.autoupdate>
  +      </properties>
  +    </dependency>
  +    <dependency>
         <groupId>jsr170</groupId>
         <artifactId>jcr</artifactId>
         <version>0.16.2</version>
  
  
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/repository/jahia/core/src/webapp/WEB-INF/web.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- web.xml   5 Aug 2005 13:55:46 -0000       1.16
  +++ web.xml   10 Aug 2005 18:40:42 -0000      1.17
  @@ -6,6 +6,29 @@
   
   <web-app>
       <display-name>jahia</display-name>
  +
  +    <!--
  +      Configure the following filters to use NTLM Domain authentification.
  +    <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>JAHIA</param-value>
  +        </init-param>
  +        <init-param>
  +            <param-name>jcifs.netbios.wins</param-name>
  +            <param-value>192.168.2.3</param-value>
  +        </init-param>
  +    </filter>
  +    
  +    <filter-mapping>
  +        <filter-name>NtlmHttpFilter</filter-name>
  +        <url-pattern>/*</url-pattern>
  +    </filter-mapping>
  +    -->
  +
       <listener>
           <listener-class>org.jahia.bin.JahiaWebAppListener</listener-class>
       </listener>
  

Reply via email to