Hi,
You'd need to write a couple of things:
- A repoze.who request classifier, to let repoze.who when the request
comes from a browser or a XML-RPC client.
- A repoze.who identifier to extract the login and password from the
request.
The request classifier would look like this:
"""
from repoze.who.classifiers import default_request_classifier
def custom_request_classifier(environ):
if request comes from XML-RPC client:
classification = "xmlrpc"
else:
classification = default_request_classifier(environ)
return classification
"""
And the identifier would look like this:
"""
from repoze.who.interfaces import IIdentifier
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.