Logging in with the Tarantella applets

The following Tarantella applets have the ability to log a user in to Tarantella:

The login functionality depends on the presence (or absence) of the TarantellaUsername, TarantellaPassword and LoginGUIMask parameters for these applets. The functionality works on a "if needed" basis, that is the user is only logged in or prompted to log in, if they are not already logged in. For example, if you have several applets on the same page, only the first applet to initialize and detect that the user is not logged in will prompt for a username and password. Applets that initialize subsequently would not prompt for this information.

When to use the parameters

If you use the standard Tarantella webtop, you do not need to use these parameters.

If you use a page or frameset which contain several applets that load at the same time or you define an entry point to Tarantella which does not log the user in, you must add the parameters to every applet on the page/frameset. You have to do this because you cannot be certain which applet will initialize first.

How the login works

If an applet detects that the user is not logged in, it attempts to log the user in using the value of the TarantellaUsername parameter as the username and the value of the TarantellaPassword parameter as the password. If the value of the TarantellaUsername parameter is an empty string (""), the applet tries to log the user in anonymously (without a password).

If the login attempt is unsuccessful or the TarantellaUsername parameter is missing and and bit 1 of the LoginGUIMask parameter is set, the user will be prompted to log in.

Related topics
  • Framework applet