Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have built a REST API in java using the jersey framework and need to secure it with authentication. I have declared the security constraint in the web.xml file. Now, my task is to configure a realm which uses couchbase db for authentication. I need to know what are the ways I can take from here - can I do it through JAAS / can I directly create a login service on a jetty container which authenticates using couchbase / use some framework like spring security / ..??

Thanks!

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.