[jcifs] filtering the users home share (Was Re: davenport filters)

Michael B Allen mba2000 at ioplex.com
Sat Dec 18 03:08:06 GMT 2004


On Sat, 18 Dec 2004 00:33:36 +0000
Mike Manley <Mike at technomyth.co.uk> wrote:

> Michael B Allen wrote:
> 
> >On Fri, 17 Dec 2004 23:58:52 +0000
> >Mike Manley <Mike at technomyth.co.uk> wrote:
> >  
> >
> >>I don't think putting the username
> >>into an attribute of the [HttpSession] is an option, as I can't see how
> >it>
> >>would be possible to ensure that the
> >>currently set username on the [HttpSession] matched the session
> >currently>being filtered when several clients were
> >>connecting at the same time.
> >>    
> >>
> >
> >HttpSession's are specific to the current http connection and NTLM HTTP
> >authentication is specific to the current connection.
> >  
> >
> That makes sense but I don't have access to the HttpSession from within 
> the accept method of the
> smbFileFilter or do I?

No, I guess you don't. You could probably make it work but adding
getPrinciple to SmbFile is cleaner. I add it in the next release.

Mike

-- 
Greedo shoots first? Not in my Star Wars.


More information about the jcifs mailing list