  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Tomcat JDBCRealm And <security-constraint > in the web.xml | Tomcat JDBCRealm And <security-constraint > in the web.xml 2003-10-12 - By Tim Funk
Back http://jakarta.apache.org/tomcat/tomcat-4 (See http://cat-4.ora-code.com).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 <funkman@(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 >> >>Caroline Jen wrote: >> >>>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 in the >> >>$TOMCAT_HOME/conf/sever.xml is >> >>>shown below: >>> >>><Engine> >>><Host> >>><Context> >>><Realm >> >>className="org.apache.catalina.realm.JDBCRealm " >> >>>debug="99" >>> driverName="com.mysql.jdbc.Driver " >>> >> >>connectionURL="jdbc:mysql://localhost:3306/artimus >> >>> user=javauser&password=javadude" >>> userTable="members" userNameCol="user_name" >>> userCredCol="user_password" >>> userRoleTable="user_roles" >> >>roleNameCol="user_role"/> >> >>></Context> >>></Host> >>></Engine> >>>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |