File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Weblogic 8.1 / JAAS Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 8.1 / JAAS Authentication" Watch "Weblogic 8.1 / JAAS Authentication" New topic

Weblogic 8.1 / JAAS Authentication

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi all,
We've been trying to use JAAS in our application to authenticate and authorize people. Cause our userdata is stored in a database we provided
an own LoginModule which accesses the database and calls the callback handlers method.This Login Module worked fine on Tomcat. Now we move the stuff to BEA and run into problems. It seems that our LoginModule isn't called and so the user access is always denied.

We started the app with\server\lib\jaas.config

The file contains:

Do we have to provide something else so our LoginModule is used ?
I read something about a Authenticator which has to be definied in the
security realm. And this class contains which LoginModule to use.
But is this really necessary ?

Hope you can gelp me. Thx in Advance


BTW: Here is what i get in the audit log:

<admin><AUTHENTICATE>>> <FailureException [Security:090304]Authentication Failed: User admin [Security:090302]Authentication Failed: User admin denied>
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

you'll find good information on this at:

I agree. Here's the link:
subject: Weblogic 8.1 / JAAS Authentication
It's not a secret anymore!