• Post Reply Bookmark Topic Watch Topic
  • New Topic

invoking JAAS from EJB  RSS feed

 
mohamed zafer
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!