Add my own authentication method
This example will show you how to create your own authentication method using
JSS. It's also possible to implement
authentication extensions in .NET.
- Select the 'Extensions' panel from the side-bar menu.
- Select the 'Extensions' tab at the top of the panel.
- Click the 'Add extension' button.
- Select 'Javascript (JSS) extension' then 'Authentication' menu item.
- In the 'Enable Authenticator' dialog, Click the 'Yes' button to enabled this authenticator.
- In the code editor, select 'Code' then 'Simple authentication' menu item.
- Then enter your JSS code. The example is shown below.
- Click the 'Apply changes' button in the top right of the CompleteFTP Manager.
Now, try to log in using the username 'myuser' and the password 'mypassword', you should be able to log in successfully.