RE: of the different methods to get a user-id

2009-02-12 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: of the different methods to get a user-id > > > I would expect > > request.getRemoteUser() == request.getUserPrincipal().getName() > > But there no literature which says that must be so. > > And the rea

Re: of the different methods to get a user-id

2009-02-12 Thread Pid
André Warnier wrote: > Tim Funk wrote: >> Personally - >> >> I would expect >> request.getRemoteUser() == request.getUserPrincipal().getName() >> >> But there no literature which says that must be so. > > And the reality shows it isn't. > So somehow there must be two distinct underlying "thingies

Re: of the different methods to get a user-id

2009-02-12 Thread André Warnier
Tim Funk wrote: Personally - I would expect request.getRemoteUser() == request.getUserPrincipal().getName() But there no literature which says that must be so. And the reality shows it isn't. So somehow there must be two distinct underlying "thingies" in Tomcat where the two different answe

Re: of the different methods to get a user-id

2009-02-12 Thread Tim Funk
Personally - I would expect request.getRemoteUser() == request.getUserPrincipal().getName() But there no literature which says that must be so. So in that absence of that - you'll probably need a RemoteUserHackFilter to unify the various behaviors and then you standardize on one model and Rem