> From: Kirula Leelasena [mailto:[EMAIL PROTECTED]] > > Yes I am running on NT. Any examples of how to setup > 'secured' datasources and connecting via JDBC. > Currently my databases are setup on cocoon.xconf as below :- > > <datasources> > <jdbc name="my_db"> > <pool-controller min="5" max="10" oradb="true"/> > <dburl>jdbc:oracle:thin:@my_server:my_port:my_SID</dburl> > <user>username</user> > <password>my_encrypted_password</password> > </jdbc> > </datasources>
I've not done it in practise, but... (I'm running w2k> <start> <settings> <control panel> <administrative tools> <data sources (ODBC)> (appropriate DSN type) <add> "Create New Data Source", fill in details. <datasources> <jdbc name="my_db"> <pool-controller min="5" max="10" oradb="true"/> <dburl>insert connection string to connect to a DSN here</dburl> </jdbc> </datasources> Sorry I can't help with the dburl (and it's prob what you want most help with :( But, basically, the username/password are stored in the DSN, Cocoon/JDBC just makes use of it. There are examples available on the Sun website on how to create a connection string to a ODBC DSN. Hope this helps, fill in the details when you get it to work :) J. ======================================================================= Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other commitment through the use of this email. Experian Limited (registration number 653331). Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>