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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "invoking JAAS from EJB" Watch "invoking JAAS from EJB" New topic
Author

invoking JAAS from EJB

mohamed zafer
Ranch Hand

Joined: Nov 03, 2000
Posts: 62
Hello There,
I have developed a PasswordLoginModule. Also updated the config details in the J2RE_HOME/lib/security/java.security.
When I run the authentication client form an application I am able to successfully do the Password authentication. Now, when I run the client i.e, invoke
lc = new LoginContext("password",MYCallBackHandler);
from inside a EJB I get the following error
".LoginException: No LoginModules configured for password"
Why is it so.. I am using Pramati Server on a Win2k PC
Mohamed Zafer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: invoking JAAS from EJB