Nah, grep is good. I just hadn't thought of it. Thanks for the information and the help.


Cris Ewing
CME and Telehealth Web Services
Department of Radiology Web Services
University of Washington
School of Medicine
Work Phone: (206) 685-9116
Home Phone: (206) 365-3413

On Wed, 22 Nov 2006, Jens Vagelpohl wrote:

Hash: SHA1

On 22 Nov 2006, at 00:06, cristopher pierson ewing wrote:
As the mapping tells you, the plugin responsible for getting these credentials is "credentials_basic_auth", which is most likely a HTTPBasicAuthHelper plugin, and you will see it right in your PluggableAuthService object.
Again, you are right. The only question I have remaining is how the 'extractor' key in the credentials gets set. I've looked up the interface for this method, and looked up the method being used in the file, and the tuple that method returns, called 'cred' doesn't contain such a key. I'm just curious here, trying to get a handle on the logical flow of the authentication process. My PAS plugin works well with only an authenticateCredentials method.

The place where the "extractor" key is set is not within the plugin itself, it's not very obvious. If you take a look at the _extractUserIds method on the PluggableAuthService object itself you'll see how the PluggableAuthService iterates over the available credentials extraction modules and then adds the key to the credentials mapping for any extraction attempt that does return credentials.

This might seem crude to most people, but for questions like this I always use "grep" to find out where the keyword is referenced.


Version: GnuPG v1.4.1 (Darwin)

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to