I have implemented a Tunneling Proxy server in Java. I'm doing the authentication using JSP. My Proxy code, displays a Authentication html page to the user, whenever the user connects to the proxy. And when the user submits the username and password, the JSP code is called and it verifies for the authenticity of the user.
Is there any method by which my JSP code can intimate my proxy server that the user is an authentication user? My proxy is running as a stand-alone program listening to certain port. JSP page is running on Tomcat server.
I tried sending a DatagramPacket from the JSP page once the user is authenticated, to my proxy. But, my proxy continuously blocks waiting for the Datagram and it even doesn't load up the authentication HTML page.
Is there a way throught?????
Is there any method by which my JSP code can intimate my proxy server that the user is an authentication user? My proxy is running as a stand-alone program listening to certain port. JSP page is running on Tomcat server.
I tried sending a DatagramPacket from the JSP page once the user is authenticated, to my proxy. But, my proxy continuously blocks waiting for the Datagram and it even doesn't load up the authentication HTML page.
Is there a way throught?????