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
> 
>  
> 
> 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 the server 
> for a set period of time and then have to re-authenticate after that time
has expired.
> 
>  
> 
> Can anyone suggest anything?
> 
It may be better to ask this on the Jersey user's list.
I would imagine that Jersey provides a way to force the client to be
authenticated. This would work via a session, and there is probably a way to
set the session timeout.
After the last interaction + the timeout, the session will expire, and this
should automatically force the client to re-authenticate at the next access.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to