Trees | Index | Help |
|
---|
Package bitfling :: Module xmlrpcstuff :: Class myServer |
|
object
--+ |ServerInterface
--+ | myServer
Method Summary | |
---|---|
__init__(self,
peeraddr,
onbehalfof)
| |
int |
Determine if a given username and password supplied by the client is acceptable for use in authentication. |
int |
Determine if a channel request of a given type will be granted, and return OPEN_SUCCEEDED or an error code. |
str |
Return a list of authentication methods supported by the server. |
Inherited from ServerInterface | |
The client would like to cancel a previous port-forwarding request. | |
int or InteractiveQuery
|
Begin an interactive authentication challenge, if supported. |
int or InteractiveQuery
|
Continue or finish an interactive authentication challenge, if supported. |
int |
Determine if a client may open channels with no (further) authentication. |
int |
Determine if a given key supplied by the client is acceptable for use in authentication. |
bool |
Determine if a shell command will be executed for the client. |
bool |
Determine if a pseudo-terminal of the given dimensions (usually requested for shell access) can be provided on the given channel. |
bool |
Determine if a shell will be provided to the client on the given channel. |
bool |
Determine if a requested subsystem will be provided to the client on the given channel. |
bool |
Determine if the pseudo-terminal on the given channel can be resized. |
bool |
Determine if the client will be provided with an X11 session. |
bool |
Handle a global request of the given kind . |
int |
Handle a request for port forwarding. |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
check_auth_password(self, username, password)Determine if a given username and password supplied by the client is acceptable for use in authentication. Return AUTH_FAILED .
|
check_channel_request(self, kind, chanid)Determine if a channel request of a given type will be granted, and
return
The OPEN_SUCCEEDED (or
0 ) to allow the channel request, or one of the following
error codes to reject it:
OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED .
|
get_allowed_auths(self, username)Return a list of authentication methods supported by the server. This list is sent to clients attempting to authenticate, to inform them of authentication methods that might be successful. The "list" is actually a string of comma-separated names
of types of authentication. Possible values are
"password" .
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:35 2008 | http://epydoc.sf.net |