aspose file tools*
The moose likes Security and the fly likes JConsole Exception - unable to find LoginModule Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "JConsole Exception - unable to find LoginModule" Watch "JConsole Exception - unable to find LoginModule" New topic
Author

JConsole Exception - unable to find LoginModule

Rajesh Seth
Greenhorn

Joined: Aug 30, 2010
Posts: 12
Hi,

I have created a Custom Login Module and trying to access MBeans using JConsole(Remote) authenticated from LoginModule. I am using Tomcat server and Login Module jar file is present in classpath. It is throwing Exception - java.lang.SecurityException: Authentication failed! unable to find LoginModule. If I place the Login Module jar in jre/lib/ext it works fine. Is there anyway I can have it working placed in Tomcat only and not in jre/lib/ext folder?

Thanks
 
Consider Paul's rocket mass heater.
 
subject: JConsole Exception - unable to find LoginModule