4Suite API Documentation

Module Ft.Server.Client

Repository client (4ss, 4ss_manager) base module
Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Modules

Implementation of '4ss' command (functions defined here are used by the Ft.Lib.CommandLine framework)
Provides tools for generating system messages

Classes

class FtServerClientException(Ft.Server.FtServerBaseException)
Exception class for errors incurred while using the repository clients (4ss, 4ss_manager).

Methods inherited from class Ft.Server.FtServerBaseException

Methods inherited from class Ft.FtException

__getattr__, __repr__, __str__

Methods inherited from class Exception

__getitem__

Members

MessageSource = <module 'Ft.Server.Client.MessageSource' from 'b...inux-i686-2.3/Ft/Server/Client/MessageSource.py'>

Functions

GetAuthentication(options=None)
Returns authentication arguments for connecting to a repository.
Get Authentication information for a Client connection to the repository
1: look in the options dictionary for "anonymous"
2: look in the options dictionary for "username"
3: look in the options dictionary for "port"
4: look in the options dictionary for "host"
5:  If there is no username, then look for the FTSS_AGENT env var to get information
6: If there still is no username, then look for FTSS_USERNAME env var
7: If there still is no user name then prompt for it.
8: look in the options dictionary for "password"
9: look in the options dictionary for "passwdhash"
10: If there is no password, then ask the password manager (from 4ss login)
11: If there still is no password then prompt for it.
12: If there is no host, then prompt for it
13: If there is no port then prompt for it
SmartLogin(options=None)
Returns a new repository connection.

Globals

PasswordManager = <Ft.Server.Client._PasswordManager instance>