Personlly, I would create a Filter that looked at the IP and logged in autmatically or requested login. You can have this filter read the IPs from a config-file or a database, which would make it less "static".
> Hi, I am building a webpage and wonder if there is a way to do a automatic > login for people that are connected to the LAN? If someone is comming from > outside they are supposed to login but all the employees on the intranet > should have premissions without have to login. Is there a way and if so, how > do I implement it? > I guess that I could use the IP's, but that would make the JSP code to > static in my eyes Mattias Jiderhamn Expert Systems [EMAIL PROTECTED] =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
