You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Marc Sommer <ma...@schlund.de> on 2003/04/23 10:52:15 UTC

Slide and JBoss Authentication - LoginModule

hi all,

i'm using the slide nighly build from 04/21/2003 and jboss3.2.0 with
jbossweb. i tried to use the SlideLoginModule from James Higginbotham to
get authentication but it doesn't work with my configuration.

does anyone have slide running successfully on jboss + jetty with
authentication? Can anyone help me to solve this problem?

regards
marc


attached files:

Domain.xml
web.xml
jboss-web.xml
login-config.xml
SlideLoginModule.java


exception while authentication:

10:15:51,308 WARN  [jbossweb] WARNING: Error for /slide/
java.lang.NoClassDefFoundError: org/apache/slide/common/SlideException
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at
javax.security.auth.login.LoginContext$State.<init>(LoginContext.java:297)
        at
javax.security.auth.login.LoginContext.login(LoginContext.java:130)
        at
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:472)
        at
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:422)
        at
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:244)
        at
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:219)
        at
org.jboss.jetty.security.JBossUserRealm$JBossUserPrincipal.isAuthenticated(JBossUserRealm.java:92)
        at
org.jboss.jetty.security.JBossUserRealm$JBossUserPrincipal.authenticate(JBossUserRealm.java:154)
        at
org.jboss.jetty.security.JBossUserRealm.authenticate(JBossUserRealm.java:323)
        at
org.mortbay.http.BasicAuthenticator.authenticated(BasicAuthenticator.java:50)
        at
org.mortbay.http.SecurityConstraint.check(SecurityConstraint.java:401)
        at
org.mortbay.http.HttpContext.checkSecurityConstraints(HttpContext.java:1456)
        at
org.mortbay.jetty.servlet.ServletHttpContext.checkSecurityConstraints(ServletHttpContext.java:137)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:235)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
        at org.mortbay.http.HttpServer.service(HttpServer.java:863)
        at org.jboss.jetty.Jetty.service(Jetty.java:460)
        at
org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
        at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
        at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
        at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)