<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Find Answers For ... - Recent questions tagged http</title>
<link>https://find4answers.com/tag/http</link>
<description>Powered by Question2Answer</description>
<item>
<title>User authentication on a Jersey REST service</title>
<link>https://find4answers.com/59/user-authentication-on-a-jersey-rest-service</link>
<description>&lt;p&gt;
	I am currently developing a REST application, which is using the Jersey framework. I would like to know a way that I can control user authentication. I have search a lot of places, and the closest article I have found is this: &lt;a href=&quot;http://weblogs.java.net/blog/2008/03/07/authentication-jersey&quot; rel=&quot;nofollow&quot;&gt;http://weblogs.java.net/blog/2008/03/07/authentication-jersey&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
	However this article can only be used whith a GlassFish server and a attached database. Is there anyway that I can implement an interface in Jersey and use it as a filter before reaching the requested REST resource?&lt;/p&gt;
&lt;p&gt;
	I want to use basic authentication right now, but it should be flexible enough such that I can change that at a later time.&lt;/p&gt;
&lt;p&gt;
	Thanks in Advance Stefan.&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/59/user-authentication-on-a-jersey-rest-service</guid>
<pubDate>Fri, 06 Jan 2012 05:46:16 +0000</pubDate>
</item>
</channel>
</rss>