Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-1277

Apache tomcat is not loading the user and role class for JAASRealm

    XMLWordPrintableJSON

Details

    Description

      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
      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            javed Javed Akhter Ansari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: