Secure Global Desktop 4.40 Administration Guide > Users and Authentication > Trusted Users and Third-Party Authentication
Third-party authentication gives users access to SGD without having to authenticate to an SGD server. SGD is able to trust the third-party authentication mechanism because client applications (such as the webtop) and the SGD server have a shared secret: the user name and password of a trusted user.
In a standard installation, there is just one trusted user. However, you might want to create additional trusted users if in the following circumstances:
com.tarantella.tta.webservices.client.views
package,
either on the same host as SGD or on a different hostYou create and maintain the "database" of trusted users on the SGD server. Usually client applications only use the credentials of a single trusted user to access SGD services.
You create a new trusted user as follows:
Use the following command:
# tarantella webserver add_trusted_user username
When prompted, type the password.
Use the following command:
# tarantella webserver list_trusted_users
Go to the http://SGD-server/axis/services/rpc/externalauth
URL. When prompted, log in as the trusted user.
/opt/tarantella/webserver/tomcat/version/webapps/sgd/WEB-INF/classes
directory.
Use the following command
# /opt/tarantella/bin/jre/bin/java \ com.tarantella.tta.webservices.client.views.SgdPasswd \ --encode trusted_username:password
/opt/tarantella/webserver/tomcat/version/webapps/sgd/WEB-INF/classes/com/tarantella/tta/webservices/client/views/Resources.properties
file.
sgdaccess=
with the encoded username and password.Note If you have relocated the webtop, you must perform this step on the remote host.
To change the password of an existing trusted user, you must first delete the user with the tarantella webserver delete_trusted_user
command and then follow the above steps to create the user again.
If you are using SGD web services to develop your own applications, the ITarantellaExternalAuth
web service is
used for third-party authentication. This web service is protected with Basic web server authentication so that you can only access it
using the credentials of a trusted user:
http://server/axis/services/rpc/externalauth
URL is protected in the configuration file for the Axis web application:
/opt/tarantella/webserver/tomcat/version/webapps/axis/WEB-INF/web.xml
/opt/tarantella/webserver/tomcat/version/conf/server.xml
./opt/tarantella/webserver/tomcat/version/conf/tomcat-users.xml
The tarantella webserver add_trusted_user
command is the only supported way to store trusted users
on the SGD server.
If you have developed your own client applications using the com.tarantella.tta.webservices.client.views
package,
you can store the trusted user credentials for the application in the same way as the webtop (as described above).
Otherwise, you need to develop your own methods for storing the credentials.
Every time you make a change to a trusted user, you must restart the SGD Web Server.
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.