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 Is this possible with JAAS, or WebSphere even for that matter? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Is this possible with JAAS, or WebSphere even for that matter?" Watch "Is this possible with JAAS, or WebSphere even for that matter?" New topic
Author

Is this possible with JAAS, or WebSphere even for that matter?

Eddie Hoeks
Greenhorn

Joined: Mar 23, 2009
Posts: 6
Hey all,

I'm trying to find the answer a problem I have, but I'm not sure if I'm on the right track. I need to configure WebSphere (5.1), so I can achieve the following:

- Check if the user is allowed to login based on custom criteria (I want a user only to be able to login if a special password was provided). If this succeeds, the user should just be logged in, no further questions asked.
- However,if this check fails, I want the user to be authenticated against LDAP.

After searching on the internet/javaranch, it seems to me that I can achieve this by creating a custom LoginModule, and define it as a JAAS LoginModule for WebSphere. However, when I try to just put in 1 custom JAAS module, it says that it cannot authenticate the user.

For a loginmodule, I'm currently trying to get this sample thing running:



Any help as to if this is even possible, and if so, what I'm missing, is greatly appreciated.

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is this possible with JAAS, or WebSphere even for that matter?