A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Products
»
Tomcat
Author
SQL Trusted Authentication
Ram Bu
Greenhorn
Joined: Jul 15, 2005
Posts: 13
posted
Sep 08, 2006 10:21:00
0
Hi,
Is it possible to setup
Tomcat
's REALM to use trusted authentication in order to access SQL Server database. Currently, you have to pass userid and password in order to talk to the database server.
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver" connectionURL="jdbc:microsoft:sqlserver://databaseServer;DatabaseName=databaseName;SelectMethod=Cursor" connectionName="userId" connectionPassword="password" userTable="users" userNameCol="username" userCredCol="password" userRoleTable="user_role" roleNameCol="role_name" />
If it is possible (using trusted authentication), can some guru show me how to do this?
Thank you,
R
I agree. Here's the link:
http://aspose.com/file-tools
subject: SQL Trusted Authentication
Similar Threads
JBoss 4.0 and MSSQL Server 2000
No access to SQL Express 2005/2008 database
Problem with Connectivity
pre or post filter j_security_check
Tomcat 7 : JSESSIONID not being sent to client
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter