• Post Reply Bookmark Topic Watch Topic
  • New Topic

Http Basic Authentication using Jersey  RSS feed

Amit Shrivastva
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Java webservices and trying to write a service which used Http basic auth for authentication with JBoss 6.3 server.
I have used Jersey for this and create a simple service which works well when used with Advance Rest client in chrome.
But when I directly hit the URL in the browser it doesn't show the dialog for username and password. I am not sure what to do so that even with browser the dialog box is shown and user enters the username and password.

Please suggest and code sample that I can run and see what I am missing.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!