File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes No LoginModules configured Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "No LoginModules configured" Watch "No LoginModules configured" New topic
Author

No LoginModules configured

Maher Elaissi
Greenhorn

Joined: May 20, 2011
Posts: 5
I'm implementing authentication web application using Oracle Application Server Single Sign on using JAAS. when i run the application for authentication in Eclipse using Tomcat 5.5 it works perfectly and the authentication succeed but when i deploy it as war file in OracleAS 10g and i try to run the application and authenticate i got this exception



is anyone could help me ?
Maher Elaissi
Greenhorn

Joined: May 20, 2011
Posts: 5
hey is anybody here, i'm still blocked i need to know what's wrong i thought maybe because of this line




this is my config file



thank you in advance for your help
Maher Elaissi
Greenhorn

Joined: May 20, 2011
Posts: 5


nobody wanna help a little tunisian boy to continue his work i'm stuck since a week, is someone lives here, hello. please, somebody help me.
Maher Elaissi
Greenhorn

Joined: May 20, 2011
Posts: 5
hi,
i kindly ask if someone can help about this exception, it's been a month stuck on this and it's an emergency now.
please reply
thank you in advance
Maher Elaissi
Greenhorn

Joined: May 20, 2011
Posts: 5
thank's anyway to get the opportunity to post my problem and thanks to give me the opportunity to help people who have the same problem because i fixed the problem.
the problem was about this exception “javax.security.auth.login.LoginException: No LoginModules configured” so the problem is the configuration of the LoginModule which is in the Configuration file.

the login configuration file"jaas.config" used for the JAAS Authentication in our application contains just one entry, which is:



But OC4J will not recognize jaas.conf hence we need to configure jazn-data.xml file for custom provider like below:



I hope it will be helpfull for a few IT Engineer.
Issam Neffati
Greenhorn

Joined: Jun 01, 2012
Posts: 1
It was helpful for me , thank you !
 
wood burning stoves
 
subject: No LoginModules configured