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

JAAS JDBCRealm on WAS 7

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there!

I did a lot of research about it, but I didn't find a good document or article that solves my concerns...

I have a Java EE EAR App that I need to authenticate my users using a Oracle database.
Using JBoss it's a simple job... I just need to configure a JDBCRealm and set it into my web.xml

But I couldn't realize how is the best way to do it using WebSphere!

Using a FORM based authentication, the j_security_check uses the Default WebSphers Jaas authentication (LDAP if I'm not wrong).
So I've changed the global security configurantion to use a custom LoginModule.

It works perfect to my application, but all JAAS authentication should now use my LoginModule, including the WAS Management console.

Are there a way that I just can set a JDBCRealm to my Application, without need to use a custom LoginModule and more important, without to change others applications' authentications?


Thank's a lot for your help!

 
This tiny ad will self destruct in five seconds.
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