Logo Search packages:      
Sourcecode: zope-ldapuserfolder version File versions

def LDAPUserFolder::LDAPUserFolder::validate (   REQUEST,
  auth_info,
  roles 
)


This method is not called from any DTML or python product
code, but it is the heart of any user folder. Do not use 
it in your code, this explanation is just for understandings
sake.

This method is called by the Zope security machinery. Its
arguments are the current REQUEST dictionary, the username
and password pair returned by a basic auth login box
(concatenated with a colon into the auth_info argument), and 
the roles that are given to any user by specifying "Default
Roles" in the LDAPAdapter setup.

If successful, a new LDAPUser object is created and returned. 
If not, None is returned, which will cause the Zope security
machinery to throw an exception indicating that the user is 
not authenticated to access the resource.

Permission - From python only

Definition at line 69 of file LDAPUserFolder.py.

00069                                            :
        """

        This method is not called from any DTML or python product
        code, but it is the heart of any user folder. Do not use 
        it in your code, this explanation is just for understandings
        sake.

        This method is called by the Zope security machinery. Its
        arguments are the current REQUEST dictionary, the username
        and password pair returned by a basic auth login box
        (concatenated with a colon into the auth_info argument), and 
        the roles that are given to any user by specifying "Default
        Roles" in the LDAPAdapter setup.

        If successful, a new LDAPUser object is created and returned. 
        If not, None is returned, which will cause the Zope security
        machinery to throw an exception indicating that the user is 
        not authenticated to access the resource.

        Permission - From python only

        """

    def getGroups(attr):


Generated by  Doxygen 1.6.0   Back to index