• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in JAAS loginmodule

 
Anurag Malaviya
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

i am trying to a custom Login Module as an standalone app, which i would later use in tomcat.

Right now i am getting an error while running which is "javax.security.auth.login.LoginException: unable to instantiate LoginModule".

At first, i thought my config file is not correct. But in that case i would have got an error like " unable to config Login Module ".

Would welcome all kind of suggestions.

thanks
anurag
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your login module class have a public constructor that does not take any parameters? Does it perhaps throw an exception from the constructor?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic