[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problems at JAAS deployment

tfromm do-not-reply at jboss.com
Mon Oct 1 05:00:59 EDT 2007


JBoss: 4.0.5 (Tomcat as servletcontainer)
classloader settings:
false
false

Hi,

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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090121#4090121

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090121



More information about the jboss-user mailing list