3 Replies Latest reply on Nov 28, 2007 1:24 AM by Antoni Alatalo

    Problems at JAAS deployment

    Thomas Fromm Newbie

      JBoss: 4.0.5 (Tomcat as servletcontainer)
      classloader settings:


      when trying to access to a servlet, which uses JAAS for athentication, I get the error:

      12:41:45,233 WARN [JAASRealm] Login exception authenticating username "xxx"
      javax.security.auth.login.LoginException: No ClassLoaders found for: com.liferay.portal.security.jaas.PortalLoginModule

      My question is: How can I configure the classloader (or smth else), in this way, that the JAAS stuff finds the needed classes inside the corresponding .WAR?

      The security-domain is defined inside the jboss-web.xml of the .WAR
      and the authentication-policy entry is inside the default/conf/login-config.xml

      Copy/move the missing .jars to the default/lib is not an option. :-|

      thanks in advance,