Re: simple authentication question

2013-02-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/21/13 6:31 AM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/20/13 4:20 PM, André Warnier wrote: In relation to a couple of recent posts, I h

Re: simple authentication question

2013-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/21/13 6:31 AM, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> André, >> >> On 2/20/13 4:20 PM, André Warnier wrote: >>> In relation to a couple of recent posts, I have a naive

Re: simple authentication question

2013-02-21 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/20/13 4:20 PM, André Warnier wrote: In relation to a couple of recent posts, I have a naive question : In a servlet, to retrieve the authenticated user-id (if any), I use String userName = request.getRemot

Re: simple authentication question

2013-02-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/20/13 4:20 PM, André Warnier wrote: > In relation to a couple of recent posts, I have a naive question : > > In a servlet, to retrieve the authenticated user-id (if any), I > use > > String userName = request.getRemoteUser(); > > Now,

Re: simple authentication question

2013-02-20 Thread Mark Thomas
On 20/02/2013 21:20, André Warnier wrote: > Hi. > In relation to a couple of recent posts, I have a naive question : > > In a servlet, to retrieve the authenticated user-id (if any), I use > > String userName = request.getRemoteUser(); > > Now, suppose I wanted to create a servlet filter which (

simple authentication question

2013-02-20 Thread André Warnier
Hi. In relation to a couple of recent posts, I have a naive question : In a servlet, to retrieve the authenticated user-id (if any), I use String userName = request.getRemoteUser(); Now, suppose I wanted to create a servlet filter which (under certain conditions), would force the current reque