a quick "hack" would be to add the following method:

StandardFileStream>>
asHttpResponseTo: request
| realm |
realm := 'something'.
^(HttpResponse status: #unauthorized description: 'Unauthorized for: ',
realm)
        fieldAt: 'WWW-Authenticate' put: 'Basic realm="', realm, '"';
        yourself

bolot

P.S. Disclaimer: I didn't test this code.



On Sun, 23 Apr 2000, Ioannis Zannos wrote:

> 
> 
> Hello, 
> 
> Investigating the possible use of Swiki,
> (Comanche, v.b9) for managing the paper
> submissions in a conference, I am trying
> to modify a copy of the docs swiki, so that
> submitters can upload their paper materials
> (pdf docs, other files) and can have an
> overview of existing attachments, while
> *not* being able to download existing attachments,
> for obvious reasons of non-disclosure of 
> materials prior to publication. 
> I tried studying the docs templates and other
> files, then studied the doc under
> http://seaweed.cc.gatech.edu/docs/4
> but just cannot make sense of the documentation. 
> Could someone explain, or better, provide 
> some more detailed documentation how all
> those swiki files work together? 
> 
> Thanks in advance,
> 
> Iannis Zannos
> 

Reply via email to