• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic