Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Authenticating Against Users Defined In a Database - Tomcat

Thread view: 
Eddy C - 09 Jan 2006 18:00 GMT
Could someone point me in the right direction - I'm trying to
authenticate users against a SQL Server database and found plenty of
articles on how to create tables such as user-roles but I want to use
the actual users defined in SQL Server, because the users are also
directly logging into the db. I also tried using NTLM but our
production environment will not allow this.

TIA
Abhijat Vatsyayan - 09 Jan 2006 18:49 GMT
I can think of three possible approaches to  this -

* Provide custom implementation for org.apache.catalina.Realm
interface. This implementation should use SQL server users.
* If possible, create dynamic views  to work with JDBCRealm.
* Provide implementation for interface org.apache.catalina.UserDatabase,
bind it to a JNDI name and use org.apache.catalina.realm.UserDatabaseRealm.

You might also want to look at tomcat javadocs .

Abhijat

> Could someone point me in the right direction - I'm trying to
> authenticate users against a SQL Server database and found plenty of
[quoted text clipped - 4 lines]
>
> TIA


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.