-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMB v. 2 / 3 integration based on SMBJ #26
base: trunk
Are you sure you want to change the base?
Changes from all commits
63a1fb2
831deed
e1db1f1
3010dcb
5725ed8
2d641d0
6e9b10e
d48237c
ac7639c
a737d58
0a58ac2
0e74e8a
eb0e61e
14b3cc6
9638d9c
b15551c
7b511b0
d13d982
688a290
d0c5244
db27fbe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,7 +105,6 @@ | |
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<!-- Test SFTP with Apache SHHd Server (MINA) --> | ||
<dependency> | ||
|
@@ -135,6 +134,18 @@ | |
<artifactId>jackrabbit-standalone</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<!-- https://mvnrepository.com/artifact/com.hierynomus/smbj --> | ||
<dependency> | ||
<groupId>com.hierynomus</groupId> | ||
<artifactId>smbj</artifactId> | ||
<version>0.5.1</version> | ||
</dependency> | ||
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple --> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-simple</artifactId> | ||
<version>1.5.11</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just no. |
||
</dependency> | ||
<!-- Test HDFS with Apache Hadoop --> | ||
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
|
@@ -256,6 +267,15 @@ | |
</excludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<excludes> | ||
<exclude>**/SMB2ProviderTestCase.java</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,144 +1,125 @@ | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You completely broke formatting. |
||
license agreements. See the NOTICE file distributed with this work for additional | ||
information regarding copyright ownership. The ASF licenses this file to | ||
You under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of | ||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required | ||
by applicable law or agreed to in writing, software distributed under the | ||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
OF ANY KIND, either express or implied. See the License for the specific | ||
language governing permissions and limitations under the License. --> | ||
<providers> | ||
<default-provider class-name="org.apache.commons.vfs2.provider.url.UrlFileProvider"> | ||
</default-provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.local.DefaultLocalFileProvider"> | ||
<scheme name="file"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.zip.ZipFileProvider"> | ||
<scheme name="zip"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.TarFileProvider"> | ||
<scheme name="tar"/> | ||
<if-available class-name="org.apache.commons.compress.archivers.tar.TarArchiveOutputStream"/> | ||
</provider> | ||
<default-provider | ||
class-name="org.apache.commons.vfs2.provider.url.UrlFileProvider"> | ||
</default-provider> | ||
<provider | ||
class-name="org.apache.commons.vfs2.provider.local.DefaultLocalFileProvider"> | ||
<scheme name="file" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.zip.ZipFileProvider"> | ||
<scheme name="zip" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.TarFileProvider"> | ||
<scheme name="tar" /> | ||
<if-available | ||
class-name="org.apache.commons.compress.archivers.tar.TarArchiveOutputStream" /> | ||
</provider> | ||
|
||
<provider class-name="org.apache.commons.vfs2.provider.bzip2.Bzip2FileProvider"> | ||
<scheme name="bz2" /> | ||
<if-available | ||
class-name="org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.gzip.GzipFileProvider"> | ||
<scheme name="gz" /> | ||
</provider> | ||
|
||
<provider class-name="org.apache.commons.vfs2.provider.bzip2.Bzip2FileProvider"> | ||
<scheme name="bz2"/> | ||
<if-available class-name="org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.gzip.GzipFileProvider"> | ||
<scheme name="gz"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.jar.JarFileProvider"> | ||
<scheme name="jar" /> | ||
<scheme name="sar" /> | ||
<scheme name="ear" /> | ||
<scheme name="par" /> | ||
<scheme name="ejb3" /> | ||
<scheme name="war" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.temp.TemporaryFileProvider"> | ||
<scheme name="tmp" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.ftp.FtpFileProvider"> | ||
<scheme name="ftp" /> | ||
<if-available class-name="org.apache.commons.net.ftp.FTPFile" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.ftps.FtpsFileProvider"> | ||
<scheme name="ftps" /> | ||
<if-available class-name="org.apache.commons.net.ftp.FTPFile" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.http.HttpFileProvider"> | ||
<scheme name="http" /> | ||
<if-available class-name="org.apache.commons.httpclient.HttpClient" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.https.HttpsFileProvider"> | ||
<scheme name="https" /> | ||
<if-available class-name="org.apache.commons.httpclient.HttpClient" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.sftp.SftpFileProvider"> | ||
<scheme name="sftp" /> | ||
<if-available class-name="javax.crypto.Cipher" /> | ||
<if-available class-name="com.jcraft.jsch.JSch" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.res.ResourceFileProvider"> | ||
<scheme name="res" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.webdav.WebdavFileProvider"> | ||
<scheme name="webdav" /> | ||
<if-available class-name="org.apache.commons.httpclient.HttpClient" /> | ||
<if-available class-name="org.apache.jackrabbit.webdav.client.methods.DavMethod" /> | ||
</provider> | ||
<!-- <provider class-name="org.apache.commons.vfs2.provider.svn.SvnFileProvider"> | ||
<scheme name="svnhttps"/> </provider> --> | ||
<!-- <provider class-name="org.apache.commons.vfs2.provider.tar.TgzFileProvider"> | ||
<scheme name="tgz"/> <if-available scheme="gz"/> <if-available scheme="tar"/> | ||
</provider> <provider class-name="org.apache.commons.vfs2.provider.tar.Tbz2FileProvider"> | ||
<scheme name="tbz2"/> <if-available scheme="bz2"/> <if-available scheme="tar"/> | ||
</provider> --> | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.TarFileProvider"> | ||
<scheme name="tgz" /> | ||
<if-available scheme="gz" /> | ||
<if-available scheme="tar" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.TarFileProvider"> | ||
<scheme name="tbz2" /> | ||
<if-available scheme="bz2" /> | ||
<if-available scheme="tar" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.ram.RamFileProvider"> | ||
<scheme name="ram" /> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.hdfs.HdfsFileProvider"> | ||
<scheme name="hdfs" /> | ||
<if-available class-name="org.apache.hadoop.fs.FileSystem" /> | ||
</provider> | ||
|
||
<provider class-name="org.apache.commons.vfs2.provider.jar.JarFileProvider"> | ||
<scheme name="jar"/> | ||
<scheme name="sar"/> | ||
<scheme name="ear"/> | ||
<scheme name="par"/> | ||
<scheme name="ejb3"/> | ||
<scheme name="war"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.temp.TemporaryFileProvider"> | ||
<scheme name="tmp"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.ftp.FtpFileProvider"> | ||
<scheme name="ftp"/> | ||
<if-available class-name="org.apache.commons.net.ftp.FTPFile"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.ftps.FtpsFileProvider"> | ||
<scheme name="ftps"/> | ||
<if-available class-name="org.apache.commons.net.ftp.FTPFile"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.http.HttpFileProvider"> | ||
<scheme name="http"/> | ||
<if-available class-name="org.apache.commons.httpclient.HttpClient"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.https.HttpsFileProvider"> | ||
<scheme name="https"/> | ||
<if-available class-name="org.apache.commons.httpclient.HttpClient"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.sftp.SftpFileProvider"> | ||
<scheme name="sftp"/> | ||
<if-available class-name="javax.crypto.Cipher"/> | ||
<if-available class-name="com.jcraft.jsch.JSch"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.res.ResourceFileProvider"> | ||
<scheme name="res"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.webdav.WebdavFileProvider"> | ||
<scheme name="webdav"/> | ||
<if-available class-name="org.apache.commons.httpclient.HttpClient"/> | ||
<if-available class-name="org.apache.jackrabbit.webdav.client.methods.DavMethod"/> | ||
</provider> | ||
<!-- | ||
<provider class-name="org.apache.commons.vfs2.provider.svn.SvnFileProvider"> | ||
<scheme name="svnhttps"/> | ||
</provider> | ||
--> | ||
<!-- | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.TgzFileProvider"> | ||
<scheme name="tgz"/> | ||
<if-available scheme="gz"/> | ||
<if-available scheme="tar"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.Tbz2FileProvider"> | ||
<scheme name="tbz2"/> | ||
<if-available scheme="bz2"/> | ||
<if-available scheme="tar"/> | ||
</provider> | ||
--> | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.TarFileProvider"> | ||
<scheme name="tgz"/> | ||
<if-available scheme="gz"/> | ||
<if-available scheme="tar"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.tar.TarFileProvider"> | ||
<scheme name="tbz2"/> | ||
<if-available scheme="bz2"/> | ||
<if-available scheme="tar"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.ram.RamFileProvider"> | ||
<scheme name="ram"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.hdfs.HdfsFileProvider"> | ||
<scheme name="hdfs"/> | ||
<if-available class-name="org.apache.hadoop.fs.FileSystem"/> | ||
</provider> | ||
<provider class-name="org.apache.commons.vfs2.provider.smb2.SMB2FileProvider"> | ||
<scheme name="smb2" /> | ||
</provider> | ||
|
||
<extension-map extension="zip" scheme="zip"/> | ||
<extension-map extension="tar" scheme="tar"/> | ||
<mime-type-map mime-type="application/zip" scheme="zip"/> | ||
<mime-type-map mime-type="application/x-tar" scheme="tar"/> | ||
<mime-type-map mime-type="application/x-gzip" scheme="gz"/> | ||
<!-- | ||
<mime-type-map mime-type="application/x-tgz" scheme="tgz"/> | ||
--> | ||
<extension-map extension="jar" scheme="jar"/> | ||
<extension-map extension="bz2" scheme="bz2"/> | ||
<extension-map extension="gz" scheme="gz"/> | ||
<!-- | ||
<extension-map extension="tgz" scheme="tgz"/> | ||
<extension-map extension="tbz2" scheme="tbz2"/> | ||
--> | ||
<extension-map extension="tgz" scheme="tar"/> | ||
<extension-map extension="tbz2" scheme="tar"/> | ||
<extension-map extension="zip" scheme="zip" /> | ||
<extension-map extension="tar" scheme="tar" /> | ||
<mime-type-map mime-type="application/zip" scheme="zip" /> | ||
<mime-type-map mime-type="application/x-tar" scheme="tar" /> | ||
<mime-type-map mime-type="application/x-gzip" scheme="gz" /> | ||
<!-- <mime-type-map mime-type="application/x-tgz" scheme="tgz"/> --> | ||
<extension-map extension="jar" scheme="jar" /> | ||
<extension-map extension="bz2" scheme="bz2" /> | ||
<extension-map extension="gz" scheme="gz" /> | ||
<!-- <extension-map extension="tgz" scheme="tgz"/> <extension-map extension="tbz2" | ||
scheme="tbz2"/> --> | ||
<extension-map extension="tgz" scheme="tar" /> | ||
<extension-map extension="tbz2" scheme="tar" /> | ||
|
||
<!-- | ||
<filter-map class-name="org.apache.commons.vfs2.content.bzip2.Bzip2Compress"> | ||
<extension name="bz2"/> | ||
<extension name="tbz2"/> | ||
<if-available class-name="org.apache.commons.compress.bzip2.CBZip2InputStream"/> | ||
</filter-map> | ||
<filter-map class-name="org.apache.commons.vfs2.content.gzip.GzipCompress"> | ||
<extension name="gz"/> | ||
<extension name="tgz"/> | ||
<mime-type name="application/x-tgz" /> | ||
</filter-map> | ||
--> | ||
<!-- <filter-map class-name="org.apache.commons.vfs2.content.bzip2.Bzip2Compress"> | ||
<extension name="bz2"/> <extension name="tbz2"/> <if-available class-name="org.apache.commons.compress.bzip2.CBZip2InputStream"/> | ||
</filter-map> <filter-map class-name="org.apache.commons.vfs2.content.gzip.GzipCompress"> | ||
<extension name="gz"/> <extension name="tgz"/> <mime-type name="application/x-tgz" | ||
/> </filter-map> --> | ||
</providers> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/SMB3FileNameParser.java | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just no.