*
The moose likes Websphere and the fly likes Custom JAAS Login Module Deployment Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Custom JAAS Login Module Deployment Question" Watch "Custom JAAS Login Module Deployment Question" New topic
Author

Custom JAAS Login Module Deployment Question

Jeff McIlvain
Greenhorn

Joined: Jan 24, 2001
Posts: 17
We recently deployed a web application on WAS. The web app was purchased from a vendor. As part of the implementation we needed to integrate the web app with eDirectory LDAP services. In order accomplish that integration we developed a custom JAAS login module. We ended up using the vendor supplied Principal class in our JAAS module.

Our JAAS module is deployed to a shared library within WAS. When we first deployed the JAAS module we were getting NoClassDefFoundError. In order to resolved the issue we cracked open the web app EAR, extracted the JAR containing the vendor supplied Principal class, and deployed that JAR to the shared library.

My question is... Why did we have to deploy the vendor JAR to the shared library to make it work? Why couldn't it find the class in the JAR file that was deployed with the web app? Could we have done this differently without cracking open the EAR, extracting the JAR, and placing it in a shared library?

Thanks!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Custom JAAS Login Module Deployment Question
 
Similar Threads
Deserialization problem - InvalidClass w/ negative serialVersionUid for local class
JAAS in Websphere
java thin client login in Websphere
Force web app request/user through JAAS login (Bug in cache and timeout?)
Configure a shared library dir in AS7