How would i go about login in to a restricted web page using jdbc realms through a servlet. I've got jdbc realms working fine but I'm looking to get the authentication from a servlet and passing it to tomcat. For example http://username assword@localhost:8080/restricted.html This would work in the servlet with a redirect but the password is clear to see. Any help would be great. Thanks
posted 15 years ago
Use SSL. Since practically anything that is not encrypted are viewable by any in route servers.