On Wed, Jul 18, 2012 at 10:58 AM, bhorvat <horvat.z.bo...@gmail.com> wrote:
> I have tried to change the method into
> So my question about cookies remains, the problem is that this rest services
> will be access using the python code, and not the browser (I assume that
> browser helps in this case). So how do I then receive the cookie in response
> in the python. In other words how is the cookie send in the first place?
> I would prefer not to use the session for this, but how do I configure the
> shiro not to use the session for this, but use it in the normal application?
> Also how do I format my urls in the best way?

Well in that case, they are independent of the user's session. Don't
try to use sessions. It's easy to configure basic authentication,
something like:
configuration.add(factory.createChain("/rest/**").add(factory.basic()).add(factory.user()).build());
// factory.authc() is for form authentication

> And sadly I am purist :)

Only with knowledge of the subject matter you can choose to be a purist.

Kalle

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

Reply via email to