Table of Contents

Module: AuthEncoding Zope-2.2.1-src/lib/python/AccessControl/AuthEncoding.py

Imported modules   
import binascii
import sha
from string import upper
Functions   
pw_encode
pw_validate
  pw_encode 
pw_encode ( pw,  encoding='SHA' )

Encode the provided plain text password using the encoding if provided and return it in an LDAP-style representation.

  pw_validate 
pw_validate ( reference,  attempt )

Validate the provided password string, which uses LDAP-style encoding notation. Reference is the correct password, attempt is clear text password attempt.


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6