wood burning stoves*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JConsole Exception - unable to find LoginModule