Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

database authentication

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is there in WebSphere App server 5.0 similar to realm in tomcat (server.xml)


We have an application running in tomcat. We use tomcat realm to perform database based authentication. Now we have to deploy same application on websphere app server. Could you please tell me how do i achive database based authentication in web sphere.In tomcat i used jdbc realm where i provide details for connecting to database, table name and columns which contains user id and password.

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Gaurav,

In WebSphere you implement was is called a Custom Registry. You have to implement the interface com.ibm.websphere.security.UserRegistry and add some jar files to your classpath to compile with. Implement the interface and modify the methods to suit your implementation.

You can find the details and an example in the IBM WebSphere V5.0 Security redbook which can be obtained free of charge from:

http://www.redbooks.ibm.com/redbooks/pdfs/sg246573.pdf

Good luck,

Salomon Zalzman
Versant Corporation
http://www.versant.com
 
Gaurav Malik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks alot for the clue. I shall try and let youself and forum know about the results.
cheers and good luck to me
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic