RE: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-23 Thread Derek Mahar
, 2003 11:21 PM To: [EMAIL PROTECTED] Subject: Tomcat JDBCRealm And security-constraint in the web.xml My applications behave wierd after I configured the JDBCRealm. After experimenting in many different ways, I found that as long as I have the JDBCRealm in the server.xml, the Tomcat does not accept

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-13 Thread Adam Hardy
On 10/13/2003 07:56 AM Bill Barker wrote: Caroline Jen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tim: Before I posted my questions regarding the problem that I encountered, I have gone through

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-13 Thread Caroline Jen
I am lost. Right now, I have Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=com.mysql.jdbc.Driver connectionURL=jdbc:mysql://localhost:3306/artimus? user=javauseramp;password=javadude userTable=members userNameCol=user_name userCredCol=user_password

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-13 Thread Tim Funk
At any given level (Engine, Host, Context) there is only one Realm which can be used. But each Realm can be overridden in a nested element. So you may do the following: Engine ... Realm class=.../Realm Host ... !-- Using the Engine's Realm -- Context ... Realm ... !-- This

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-12 Thread Tim Funk
Move the Realm declaration outside of the Context declaration into the Host declaration. Or refine the Realm in each context where it is needed. -Tim Caroline Jen wrote: My applications behave wierd after I configured the JDBCRealm. After experimenting in many different ways, I found that as

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-12 Thread Caroline Jen
Tim: Would you explain refine the Realm in each context where it is needed? -Caroline --- Tim Funk [EMAIL PROTECTED] wrote: Move the Realm declaration outside of the Context declaration into the Host declaration. Or refine the Realm in each context where it is needed. -Tim

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-12 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#Configuring%20a%20Realm -Tim Caroline Jen wrote: Tim: Would you explain refine the Realm in each context where it is needed? -Caroline --- Tim Funk [EMAIL PROTECTED] wrote: Move the Realm declaration outside of the Context

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-12 Thread Caroline Jen
Tim: Before I posted my questions regarding the problem that I encountered, I have gone through http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#Configuring%20a%20Realm As long as I have the JDBCRealm in the server.xml, the Tomcat does not accept security-constraint

Re: Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-12 Thread Bill Barker
Caroline Jen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tim: Before I posted my questions regarding the problem that I encountered, I have gone through http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#Configuring%20a%20Realm As long as I have the

Tomcat JDBCRealm And security-constraint in the web.xml

2003-10-11 Thread Caroline Jen
My applications behave wierd after I configured the JDBCRealm. After experimenting in many different ways, I found that as long as I have the JDBCRealm in the server.xml, the Tomcat does not accept security-constraint specified in the application's web.xml file. Please help me. My configuration