If you're specifically interested in authentication from a database
(tables for users, roles and mappings), and using Tomcat, the JDBCRealm
is the way to go:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JDBCRealm
You might not need to learn about JAAS if all you want is simple
form-based username/password authentication.
-- Bill
If your using Tomcat 5.5.x, then this may help:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
/robert
Laurie Harper wrote:
I haven't used container managed security very much but I think the
way you'd do that is to set up multiple security realms in Tomcat
(one per application or one per database) and then configure your
security constraints in the web.xml for each application. Your Tomcat
books should have more details on how to do that than I can provide
I'm afraid...
L.
--
Bill Schneider
Chief Architect
Vecna Technologies
5004 Lehigh Rd.
College Park, MD 20740
[EMAIL PROTECTED]
t: 301-864-7253 x1140
f: 301-699-3180
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]