Package beepy :: Package profiles :: Module saslanonymousprofile :: Class SASLAnonymousProfile
[show private | hide private]
[frames | no frames]

Class SASLAnonymousProfile

Profile --+    
          |    
SASLProfile --+
              |
             SASLAnonymousProfile


A SASLAnonymousProfile is a SASL Profile that implements the ANONYMOUS mechanism for anonymous authentication.
Method Summary
  __init__(self, session)
__init__() is used to set up special SASL data such as certificates, user dbases, etc.
  processMessage(self, msg)
All processFrame should do is move the session from non-authenticated to authenticated.
  sendAuth(self, authentid, authid)
Send my authentication identification to the remove peer.
    Inherited from SASLProfile
  decodeBlob(self, data)
decodeBlob() extracts the data from the <blob> section of the payload data and decodes it from base64.
  encodeBlob(self, data)
encodeBlob() takes the data passed in and returns the appropriate <blob></blob> structure with base64 encoded data.
  parseError(self, data)
parseError() extracts the error code from the <error> block
  parseStatus(self, data)
parseStatus() extracts the status code from the <blob> block
    Inherited from Profile
  mimeDecode(self, payload)
mimeDecode() is a convenience function used to help make life easier for profile programmers, like me.
  mimeEncode(self, payload, contentType, encoding)
mimeEncode() is a convenience function used to help make life easier for profile programmers, like me.
  setChannel(self, channel)
setChannel() binds this Profile to the Channel it belongs to.

Method Details

__init__(self, session, profileInit=None, init_callback=None)
(Constructor)

__init__() is used to set up special SASL data such as certificates, user dbases, etc.
Overrides:
beepy.profiles.saslprofile.SASLProfile.__init__ (inherited documentation)

processMessage(self, msg)

All processFrame should do is move the session from non-authenticated to authenticated.
Overrides:
beepy.profiles.profile.Profile.processMessage

sendAuth(self, authentid, authid=None)

Send my authentication identification to the remove peer.

Generated by Epydoc 2.0 on Thu Sep 30 14:39:25 2004 http://epydoc.sf.net