Password-protecting Anthill
"Andy Levy" <[email protected]>
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Is is possible, without modifying anything in the standard Anthill distribution, to apply BASIC authentication to allow only selected individuals access to the application? I've been reading through the Tomcat 5 Realm Configuration HOWTO as well as an O'Reilly article on Tomcat configuration but can't seem to get it working. I've added a role, user & password in tomcat-users.xml, configured a MemoryRealm and set up security-constraint and login-config in anthill.xml (created in conf\Catalina\localhost), but I still don't get prompted to log in. Have I missed something, or does the standard distribution of Anthill not provide for authenticating users before allowing them access to the app?