I have an enterprise application in WLS with a secured EJB module and a web application based on servlets. I want to access a servlet URL from the EJB(both in same EAR file) using ULConnection and I want to secure the servlet so that no other application or client can access it. I do not want to secure the servlet with username and password since I do not want to hard-code the username and password in EJB. Is it possible to restrict a servlet to be accessible only to a particular enterprise application or is there any other ways that I can achieve what I want as described above?
I found some pretty shells, some sea glass and this lovely tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth