[Jersey] authorization via url or token?

From: tmp <>
Date: Tue, 7 Feb 2012 02:08:59 -0800 (PST)


I have a Tomcat server and some resources provided by Jersey. For Tomcat a
have set up a JDBCRealm and the resources are protected with @RolesAllowed({
"admin", "user" })..

Everything works as expected: when I want to call a protected resource, i
have to type username + password and then I can access the resource via

Now my problem:
I want a resource to be available via https but without the manual
authorization step.
For example the username and password or an access-token should be provided
by the url.

How can I achieve that?

Thanks in advance

View this message in context:
Sent from the Jersey mailing list archive at