tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javed ansari <javed....@gmail.com>
Subject Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm
Date Wed, 13 Jun 2012 11:40:29 GMT
I am creating a website and implement security. For this I am using Form
based authentication and JAASRealm. I have implemented the login module and
able to authenticate but while authorizing tomcat is not able to load the
user and role classes once I start the tomcat server.

It gives the following error on startup (in the
tomcat7-stderr.2012-06-13.log)
Jun 13, 2012 4:11:47 PM org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.cogent3M.SMARTS.Core.General.SMARTSUserPrincipal not
found! Class not added.
Jun 13, 2012 4:11:47 PM org.apache.catalina.realm.JAASRealm parseClassNames
SEVERE: Class com.cogent3M.SMARTS.Core.General.SMARTSRolePrincipal not
found! Class not added.

I have taken help from
http://blog.frankel.ch/custom-loginmodule-in-tomcat

I tried even the sample one on the above website but gives the same error.
Please let me know what am I missing.
-- 
Regards,
Javed
====================================================================
Even a big pot full of water will be emptied by a small hole.
Similarly just a little anger or ego will burn the nobility of good heart.
====================================================================

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message