Securing servlet URL without using username and password
Krishna Kumar L
posted 5 years ago
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?