I am trying to add BASIC authentication to my RESTful web service. I currently have BASIC authentication for Apache Tomcat 6.0 server, but I need to deploy my web service to WebSphere ver application server. 6.1, and there are problems with BASIC authentication on WebSphere.
Is there a way in Java to verify the HTTP request authentication headers, and if the provided username / password (Base64 encoded) does not match the known account, should the user enter a new username / password?
I tried to implement Spring Security, but since my project was done completely without Spring, it was a huge pain trying to get it to work, and I'm trying to find a simple solution to my rather simple problem.
Technologies that I currently use include: Java, Jersey / JAX-RS, Eclipse with the Maven plugin.
source share