aspose file tools*
The moose likes Tomcat and the fly likes Tomcat login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat login" Watch "Tomcat login" New topic
Author

Tomcat login

John Williamer
Greenhorn

Joined: Mar 27, 2002
Posts: 23
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
Justin Chu
Ranch Hand

Joined: Apr 19, 2002
Posts: 209
    
    1
Use SSL. Since practically anything that is not encrypted are viewable by any in route servers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat login
 
Similar Threads
Regarding session
doubt in security - username and password.
Using ROLES defined in a database in th DD
Deployment descriptor
web app security authorization question