wood burning stoves 2.0*
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: invoking JAAS from EJB
 
Similar Threads
Call secured Remote EJB from WebClient
Should Swing application connect to Web application or directly to EJB tier?
Security of Application Client (J2EE Client)
Local Server inside WSAD
web service client needs to pass a Windows security token for authentication