I came across a difficult scenario with my Spring MVC web application.
My application is using LDAP authentication. When I hosted this application in outside could environment, the authentication failed as there is no public LDAP url for my organization. They don't have public LDAP url due to security reasons.
Is it possible, that I create a authentication service inside my organization network and and my application hit that service every time a user tries to authenticate??
How can I separate authentication from my application?