Re: Authentication from a REST service

2013-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/29/13 12:30 PM, Martin O'Shea wrote: > Sorry Chris, I'm not sure what I'm looking for here. Can you > elaborate? Just read the whole page: >> Container-provided authentication can be done without writing any >> code at all: >> >> htt

RE: Authentication from a REST service

2013-07-29 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Authentication from a REST service > Sorry Chris, I'm not sure what I'm looking for here. Can you elaborate? Don't top-post; it makes the conversation impossible to follow. Step 1: read the securit

RE: Authentication from a REST service

2013-07-29 Thread Martin O'Shea
Sorry Chris, I'm not sure what I'm looking for here. Can you elaborate? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 29 Jul 2013 17 21 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGN

Re: Authentication from a REST service

2013-07-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/28/13 10:40 AM, Martin O'Shea wrote: > Have you an example at all? > > At the moment, I've simply rigged a simple authentication method of > my own . Have you a code example of container-provided > authentication system, or could you r

RE: Authentication from a REST service

2013-07-28 Thread Martin O'Shea
er Schultz [mailto:ch...@christopherschultz.net] Sent: 28 Jul 2013 15 37 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/27/13 12:00 PM, Martin O'Shea wrote: > Are there any suggestions if I'm not using ser

Re: Authentication from a REST service

2013-07-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/27/13 12:00 PM, Martin O'Shea wrote: > Are there any suggestions if I'm not using servlet 3? Any reason the container-provided authentication system (e.g. HTTP BASIC) isn't acceptable? - -chris -BEGIN PGP SIGNATURE- Version: G

RE: Authentication from a REST service

2013-07-27 Thread Martin O'Shea
Are there any suggestions if I'm not using servlet 3? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 18 52 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 M

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
Chris I'm checking this with Jersey. Thanks Martin O'Shea. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 18 52 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Ha

Re: Authentication from a REST service

2013-07-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/18/13 1:08 PM, Martin O'Shea wrote: > OK. So let me see if I understand what you’re suggesting: I > already have client and server communicating with each other by > sending XML requests via Jersey with a servlet implemented in > web.xm

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
/*. This filter can then call HttpServletRequest.login? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 15 39 To: Tomcat Users List Subject: Re: Authentication from a REST service -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On

Re: Authentication from a REST service

2013-07-18 Thread André Warnier
Martin O'Shea wrote: Chris It's a case of considering options at the moment. It doesn't matter too much about the actual expiration time of the session. But a question arises concerning use of a realm: if I have the following code in a realm in context.xml for existing browser-based logging i

Re: Authentication from a REST service

2013-07-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/18/13 10:32 AM, Martin O'Shea wrote: > It's a case of considering options at the moment. It doesn't matter > too much about the actual expiration time of the session. But a > question arises concerning use of a realm: if I have the foll

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
it be used also for the REST service? And would a servlet be required to handle authentication? Thanks Martin O'Shea. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Jul 2013 15 05 To: Tomcat Users List Subject: Re: Authentication from

Re: Authentication from a REST service

2013-07-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 7/18/13 5:34 AM, Martin O'Shea wrote: > I am in the process of setting up a web service between an android > app and Tomcat 6.0.26 implemented with Jersey. I already have > client and server communicating with each other by sending XML >

RE: Authentication from a REST service

2013-07-18 Thread Martin O'Shea
Thanks Andre. I have already done so. I thought to ask it on both just in case. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 18 Jul 2013 14 16 To: Tomcat Users List Subject: Re: Authentication from a REST service Martin O'Shea wrote: > Hello > >

Re: Authentication from a REST service

2013-07-18 Thread André Warnier
Martin O'Shea wrote: Hello I am in the process of setting up a web service between an android app and Tomcat 6.0.26 implemented with Jersey. I already have client and server communicating with each other by sending XML requests. But I would like the user of the client to be authenticated by