User authentication on a Jersey REST service
Posted
by Stefan
on Stack Overflow
See other posts from Stack Overflow
or by Stefan
Published on 2010-05-25T06:16:56Z
Indexed on
2010/05/25
6:21 UTC
Read the original article
Hit count: 729
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: http://weblogs.java.net/blog/2008/03/07/authentication-jersey.
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?
I want to use basic authentication right now, but it should be flexible enough such that I can change that at a later time.
Thanks in Advance Stefan.
© Stack Overflow or respective owner