File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes JAAS JDBCRealm on WAS 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JAAS JDBCRealm on WAS 7" Watch "JAAS JDBCRealm on WAS 7" New topic
Author

JAAS JDBCRealm on WAS 7

Elton Kuzniewski
Ranch Hand

Joined: Dec 06, 2007
Posts: 44
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!


Elton Kuzniewski<br>SCJA 1.0, SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCJD (B&S - working on project),
<br><a href="http://www.eltonk.com.br/" target="_blank" rel="nofollow">www.eltonk.com.br</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAAS JDBCRealm on WAS 7
 
Similar Threads
Using default JAAS Mechanism in Websphere makes applications to access the context path of the other
Custom JAAS Login Module
JAAS Authentication. Confusion about use case.
Custom and generic JAAS module
JAAS LoginModule