Definitely go for JDBCRealm if you can. The only thing you may need to support is login bad username password messages in struts. No idea how you do that in JDBCRealm.
The JAAS LoginContext isn't properly supported in Tomcat. -----Original Message----- From: C.F. Scheidecker Antunes [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 00:42 To: Struts Users Mailing List Subject: JAAS vs JDBRealm Hello all, A little question. I've wrote a little web app for school with Servlets. In my Eclipse Project I've added a context.xml file in order to configure JDBCRealm and it worked perfectly as Tomcat 5.x supports this kind of thing, adding a context.xml file inside the META-INF/ subdir. In order to have the same kind of login functionality within Struts, that is 2 tables for Users and Roles could I just configure JDBCRealm this same way? Why would I bother using something like JAAS where I have to configure the JVM as well? What are the advantages and disadvantages? JDBCRealm seems much easier to me. Thanks for the input, C.F. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]