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]

Reply via email to