Description
We were doing a proof of concept and we are stuck. The use case is before any file operations I need to check whether the user in session is having permissions to carry on the operations, along with that we have a logic to check whether the command is valid or not for both SCP and SFTP.
The 2 pre-operations I am not able to perform and I am a bit confused, your guidance and help will be highly appreciated.
I am sharing the git location so it helps you guys see the code, it's a very small maven project with FileSystem.
We are not able to understand where should we implement the hook to achieve the above use case
Thank you again
https://github.com/Susmit07/sftp-poc