aspose 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
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
 
jQuery in Action, 2nd edition
 
subject: invoking JAAS from EJB
 
Similar Threads
Local Server inside WSAD
Security of Application Client (J2EE Client)
web service client needs to pass a Windows security token for authentication
Call secured Remote EJB from WebClient
Should Swing application connect to Web application or directly to EJB tier?