Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

NSF File Server

This project is a WAR web application that launches an SFTP server backed by a file storage NSF, storing the files and directories as user-side documents.

Running

The generated application requires a Jakarta EE server with an active Notes runtime. The most straightforward way to create this is to use the Domino Open Liberty Runtime project.

The WAR has been developed and tested on Open Liberty 19.0.0.10, but should work on any JEE server that provides Servlet 3+, CDI 2, and MicroProfile Config 1.3.

Configuration

The server supports two configuration properties loaded via MicroProfile Config:

  • SFTPNSFPath: the path to the NSF to use as a file store. Defaults to filestore.nsf and can be either a base database path or an API path in "server!!path.nsf" format
  • SFTPNSFPort: the port used by the SFTP server. Defaults to 9022

Authentication

The spawned SSH server uses the current server's Domino directories for authentication. It supports two methods:

  • Password authentication using the "HTTPPassword" item in the user's person document
  • RSA public key authentication using a public key stored in the "sshPublicKey" item in the user's person document. This should be a text item containing the same contents as a "id_rsa.pub" file from OpenSSH

Building

Compilation requires the availability of Mavenized Domino artifacts as done via generate-domino-update-site with the group ID com.ibm.xsp.

License

The code in the project is licensed under the Apache License 2.0. The dependencies in the binary distribution are licensed under compatible licenses - see NOTICE for details.

About

SFTP server backed by an NSF

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages