[medusa] using auth_handler and bobo_handler

rushing@n... rushing@n...
Wed, 12 May 1999 17:43:20 -0700 (PDT)


ray@u... writes:
> Has anybody successfully used auth_handler.py and bobo_handler
> together? If so, any tips on what's involved.

It shouldn't be any more difficult than wrapping the one with
the other. There's an example in demo/publish.py, where an
auth handler is wrapped around a put_handler:

| # Supports the HTTP PUT method...
| ph = put_handler.put_handler (fs, '/.*')
| 
| # ... but be sure to wrap it with an auth handler:
| ah = auth_handler.auth_handler (users, ph)
|
| [...]
|
| hs.install_handler (ah) # for PUT

If this doesn't work, please let me know...

-Sam


------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/group/medusa
http://www.eGroups.com - Simplifying group communications