File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAAS JDBCRealm on WAS 7

 
Elton Kuzniewski
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • 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!

 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic