File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Problem in JAAS loginmodule
Joined: Jul 01, 2009
Jun 25, 2012 04:46:22
i am trying to a custom Login Module as an standalone app, which i would later use in
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.
Joined: Oct 27, 2005
Jun 25, 2012 11:41:03
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 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Problem in JAAS loginmodule
New JavaRanch Journal article: Authentication using JAAS
How to use the unauthenticatedIdentity property
JAAS Implementation with JBOSS
Single sign On with JAAS
JAAS LoginModule Registration under WebSphere
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015