users@jersey.java.net

[Jersey] forwarding from unprotected resource to protected resource without authentication

From: tmp <le_tmp_at_gmx.de>
Date: Tue, 14 Feb 2012 06:05:15 -0800 (PST)

Hello!

I have 2 resources in my webapplication:
Resource method A is accessible without authentication.
Resource method B is protected (@RolesAllowed).

When I call method B, I have to authenticate first.

Is there a way to automatically authenticate a client within method A (so he
doesn't have to authenticate manually) ?

Here are my web & pom.xml:
http://pastebin.com/52KQzM9A
http://pastebin.com/EamiEeF7

Thanks in advance

--
View this message in context: http://jersey.576304.n2.nabble.com/forwarding-from-unprotected-resource-to-protected-resource-without-authentication-tp7283941p7283941.html
Sent from the Jersey mailing list archive at Nabble.com.