~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/sshserver/auth.py

  • Committer: Steve Kowalik
  • Date: 2011-08-07 04:05:52 UTC
  • mto: This revision was merged to the branch mainline in revision 13626.
  • Revision ID: stevenk@ubuntu.com-20110807040552-mwnxo0flmhvl35e8
Correct the notification based on review comments, and remove request{,ed}
from the function names, switching to create{,d}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
"""Custom authentication for the SSH server.
7
7
 
8
8
Launchpad's SSH server authenticates users against a XML-RPC service (see
9
 
`lp.services.authserver.interfaces.IAuthServer` and
 
9
`canonical.launchpad.interfaces.authserver.IAuthServer` and
10
10
`PublicKeyFromLaunchpadChecker`) and provides richer error messages in the
11
11
case of failed authentication (see `SSHUserAuthServer`).
12
12
"""
40
40
from zope.event import notify
41
41
from zope.interface import implements
42
42
 
 
43
from canonical.launchpad.xmlrpc import faults
43
44
from lp.services.sshserver import events
44
45
from lp.services.sshserver.session import PatchedSSHSession
45
46
from lp.services.sshserver.sftp import FileTransferServer
46
47
from lp.services.twistedsupport.xmlrpc import trap_fault
47
 
from lp.xmlrpc import faults
48
48
 
49
49
 
50
50
class LaunchpadAvatar(avatar.ConchUser):