Table of Contents

Module: username swocket/auth/username.py

simple username authorization, take a username and authorize if they're not already connected

Functions   
authFunction
authInit
cleanup
findAttribute
  authFunction 
authFunction ( passInfo )

check username existence and authorize

Exceptions   
authorizeError( "%s is already connected" % user )
  authInit 
authInit ( parent,  n )

no init step...

  cleanup 
cleanup ( self )

cleanup on disconnect/logout

  findAttribute 
findAttribute ( attributes,  key )

see ldap if you cant figure it out

Exceptions   
authorizeError( "connect attribute %s missing or invalid" % key )

Table of Contents

This document was automatically generated on Wed Jul 11 15:13:59 2001 by HappyDoc version r1_5