Tomcat JDBCRealm Setup

The company I work for has an application that uses Tomcat's container managed security. We do this by using Tomcat's JDBCRealm.

We need to move over the application from Eclipse to IntelliJ, but I'm having a hard time figuring out where to put this server.xml setup code :

"]]>"

The full setup can be found here :
http://tomcat.apache.org/tomcat-5.0-doc/realm-howto.html#JDBCRealm

Any help would be appreciated.

2 comments
Comment actions Permalink

I don't really understand the question. If you need to configure the server, then you have to do so in the tomcat configuration files.
Where does Idea come into the game?

Leo wrote:

The company I work for has an application that uses Tomcat's container managed security. We do this by using Tomcat's JDBCRealm.

We need to move over the application from Eclipse to IntelliJ, but I'm having a hard time figuring out where to put this server.xml setup code :

"<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver" ...... >"

The full setup can be found here :
http://tomcat.apache.org/tomcat-5.0-doc/realm-howto.html#JDBCRealm

Any help would be appreciated.

0
Comment actions Permalink

You're absolutely correct. Its working now.

Thanks

0

Please sign in to leave a comment.