[jetty-user] Basic server login

andrej rolih <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
Hi!
I have a little trouble with jetty. I have embedded it into my application succcessfuly but I don't want to allow access to the site to anyone. So I want to password protect it. What is the easyest way to implement this? Since this is a embedded server I want to configure the whole system in Java rather than in xml files. I don't want anything complex. Just when the user connects to the server he must enter the password. And then he can do anything. I don't want multiple users or anything else.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.