How to develop authentication with resteasy?

2020-07-24 06:11发布

I'm making small web service(1) and I decided to use resteasy to make it. But I need to know what would be best practise to develop authentication with resteasy. And what kind of responses webservice should send? Are responses usually in XML or what format, and what format of XML response should be?

Btw. I use jboss 4 and Java 5.

http://www.assertionerror.com/2009/02/26/restful-web-services-with-resteasy/

(1) What technology I should use to develop small Java webservice?

2条回答
Animai°情兽
2楼-- · 2020-07-24 06:57

For the authentication you can use the Interceptor (classes that are invoked before the RESTEasy annotated class), see

I'm developing a big application, and I'm using Interceptors for the authentication

查看更多
虎瘦雄心在
3楼-- · 2020-07-24 07:09
查看更多
登录 后发表回答