Performing automatic login

Top   Previous   Next

If you are integrating JSCAPE Secure FTP Server Web Gateway into an existing web based application you may already have the needed user login credentials.  To prevent users from being required to enter login credentials again, you may embed all login credentials as URL parameters.  Upon successful login user will be automatically logged into the JSCAPE Secure FTP Server Web Gateway.

 

Example

 

http://hostname:port/action/login?domain=localhost&username=jsmith&password=secret&continue=/action/cwd?filename=/path/to/dir

 

 

URL Parameters

 

hostname - The hostname or IP of the web server.

port - The port of the web server.

domain - The domain to login to.

username - The username to login as.

password - The password to login with.

continue - The relative URL to redirect user to.  In the example above the continue argument is used to redirect user to a specified directory upon login.