> -----Oorspronkelijk bericht-----
> Van: Michiel Meeuwissen [mailto:[EMAIL PROTECTED]
> Verzonden: donderdag 24 juni 2004 17:27
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: [TAGLIB] Re: The user that logged in.
> 
> 
> Pierre van Rooden <[EMAIL PROTECTED]> wrote:
> > Michiel Meeuwissen wrote:
> > >But how could taglib know how to find the object from the 
> user identifier?
> > >Perhaps we need some mechanism for that?
> > 
> > We could do with a security MMCi, r an expansion of ten 
> bridge with soem 
> > emthods.
> > i.e. a getNode() method on teh USer object
> 
> Hmm. But there is not always a node associated with the user. 
> We can use
> virtual nodes, but well..  What fields would it have? How you 
> can use it in
> a security-implementation-independent way? 
> 
> Perhaps it is enought to supplyalso a 'gui-indicator', so besides by
> 'identifier' (e.g. 'pvrooden') I'd also like to know to know 
> the real name if
> it is known (e.g. 'Pierre van Rooden').
> 
>  Michiel

How about making the usernode a field in the UserContext class. the
implementations of the Authentication would have to put some meaningfull
stuff in it. By default it could have no fields or maybe the identifier.

usually the security implementation and the appication (website) go
together, so the fact you are not shure about all the fields is not a major.
you could allways "userNode.getNodeManager().getFields()", or dousn't that
work on virtual nodes?

Ernst

> 
> 
> -- 
> Michiel Meeuwissen
> Mediacentrum 140 H'sum 
> +31 (0)35 6772979
> nl_NL eo_XX en_US
> mihxil'
>  [] ()
> 

Reply via email to