Hi,

we got Authentication working now, however, there's a caveeat:

We just removed the context-file in
$catalina_home/conf/Catalina/localhost/SingleSignon.xml, and now it
starts.

What we do not understand is:

Why does an existing context-definition enable a servlet to bypass
FormBased Authentication????

And, furthermore:

What is the appropriate way to define a datasource in Tomcat 5.15 if
not in it's own context-definition-file?

Again, this is the context-definition-file we got removed from
$catalina_host/config/Catalina/localhost:

SingleSignOn.xml

<Context        path="/SingleSignOn"
                       reloadable="true"
                       docBase="${catalina.home}/webapps/SingleSignOn"
                       workDir="${catalina.home}/work" >

       <Resource   name="jdbc/SSODS"
                               auth="Container"
               type="javax.sql.DataSource"
               driverClassName="com.mysql.jdbc.Driver"
               url="jdbc:mysql://dekold4712/apacheSSO"
               username="username"
               password="password"
               maxActive="100"
               maxIdle="30"
               maxWait="10000"/>


</Context>

Any advice appreciated!

Greg
--
what's puzzlin' you, is the nature of my game

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to