This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Problem in JAAS loginmodule Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Problem in JAAS loginmodule" Watch "Problem in JAAS loginmodule" New topic

Problem in JAAS loginmodule

Anurag Malaviya

Joined: Jul 01, 2009
Posts: 19
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 " 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.

Rob Spoor

Joined: Oct 27, 2005
Posts: 19649

Does your login module class have a public constructor that does not take any parameters? Does it perhaps throw an exception from the constructor?

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Problem in JAAS loginmodule
Similar Threads
JAAS LoginModule Registration under WebSphere
Single sign On with JAAS
New JavaRanch Journal article: Authentication using JAAS
How to use the unauthenticatedIdentity property
JAAS Implementation with JBOSS