wftk core: user directory adaptor

[ back to the core ] [ discussion ]

A user directory adaptor is responsible for interfacing with a directory system in order to define users and groups, determine authorization of a user given username and password, determine group membership, and I'm not sure what else at the moment.

These are the functions exposed by a user directory adaptor:
FunctionParametersPurpose
0: init   Initialize adaptor instance
1: free   Clean up instance before shutting down
2: info   Return XML describing the adaptor
3: get userid Retrieve user description
4: auth XML * user
password
Return user if authenticated, NULL if not.

Implementations:


This code and documentation are released under the terms of the GNU license. They are additionally copyright (c) 2000, Vivtek. All rights reserved except those explicitly granted under the terms of the GNU license. This presentation was prepared with LPML. Try literate programming. You'll like it.