aspose file tools*
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
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Problem in JAAS loginmodule" Watch "Problem in JAAS loginmodule" New topic
Author

Problem in JAAS loginmodule

Anurag Malaviya
Greenhorn

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 "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

Joined: Oct 27, 2005
Posts: 19543
    
  16

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in JAAS loginmodule
 
Similar Threads
How to use the unauthenticatedIdentity property
JAAS Implementation with JBOSS
JAAS LoginModule Registration under WebSphere
New JavaRanch Journal article: Authentication using JAAS
Single sign On with JAAS