RE: [jetty-user] Basic server login
andrej rolih <[email protected]>
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
Can you give me a little more details? The main problem that I am facing is that I have multiple static HTML files and I want them protected too. If I only had a simple webapp login wouldn't be the problem. But I have some dynamic and some static content and because of that I need some server side solution. > Date: Sun, 17 Oct 2010 20:03:17 +0100 > From: [email protected] > To: [email protected] > Subject: Re: [jetty-user] Basic server login > > Assuming you don't mind writing some Java, the method I personally would use is to write a simple filter which ensures a login has been requested and checks the password. > > There are other 'proper' ways of using the security features, but this is perhaps the quickest 'no files' method. > > > > On Sunday, October 17, 2010 at 7:11:51 PM, andrej rolih wrote: > > > 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. > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > >