source: extensions/net.sf.basedb.ftp/trunk/ftp-config.xml @ 1225

Last change on this file since 1225 was 915, checked in by Nicklas Nordborg, 13 years ago

References #127: Update to final release of Apache Mina FTP server

I have now updated to Apache FTP Server 1.0-M4. According to the developers the code is now feature freezed
and the API will be kept stable. Only bugfixes remains before the final release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<server 
3  xmlns="http://mina.apache.org/ftpserver/spring/v1"
4 
5  xmlns:beans="http://www.springframework.org/schema/beans"
6  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7  xsi:schemaLocation="
8     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
9     http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd 
10     "
11   id="server" 
12   max-logins="20"
13   anon-enabled="false"
14   max-anon-logins="0"
15   max-login-failures="3"
16   login-failure-delay="500"
17   >
18  <listeners>
19    <!--
20      See http://mina.apache.org/ftpserver/documentation.html
21      for documentation about configuration options.
22    -->
23    <!--
24      A plain non-encrypted FTP server connection on port 2121,
25      supporting both active and passive connections.
26    -->
27    <nio-listener 
28      name="default" 
29      port="2121" 
30      implicit-ssl="false" 
31      idle-timeout="60" 
32      >
33      <data-connection 
34        idle-timeout="60"
35        >
36        <active enabled="true" ip-check="true"  />
37        <passive ports="0" />
38      </data-connection>
39    </nio-listener>
40   
41    <!--
42      An implicit SSL FTP server connection on port 2122.
43      Change the path and password to point to your keystore file.
44    -->
45    <!--
46    <nio-listener
47      name="implicitssl"
48      port="2122"
49      implicit-ssl="true"
50      idle-timeout="60"
51      >
52      <ssl>
53        <keystore
54          file="/path/to/keystore.jks"
55          password="testing"
56          key-password="testing"
57        />
58      </ssl>
59      <data-connection
60        idle-timeout="60"
61        >
62        <active enabled="false" />
63        <passive ports="0" />
64      </data-connection>
65    </nio-listener>
66    -->
67  </listeners>
68 
69  <!-- DO NOT CHANGE - ftplet is required for proper logout handling -->
70  <ftplets>
71    <ftplet name="base">
72      <beans:bean class="net.sf.basedb.clients.ftp.BaseFtplet" />
73    </ftplet> 
74  </ftplets>
75 
76  <!--  DO NOT CHANGE - user-manager is required to use BASE for authentiction -->
77  <user-manager>
78    <beans:bean class="net.sf.basedb.clients.ftp.BaseUserManager"/>
79  </user-manager>
80
81  <!--  DO NOT CHANGE - filesystem is required to access files in BASE -->
82  <filesystem>
83    <beans:bean class="net.sf.basedb.clients.ftp.BaseFileSystemFactory"/>
84  </filesystem>
85</server>
Note: See TracBrowser for help on using the repository browser.