[jboss-user] Form login authentication problem

Joshua Zeckser barkingcorndog at comcast.net
Wed Jul 2 18:00:26 EDT 2008


Hello out there!

        I'm having a bit of a problem trying to use form login
authentication.
When I login from a jsp, I get a blank page, and the server shows the
exception:

14:54:40,940 ERROR [CoyoteAdapter] An exception or error occurred in the
container during the request processing
java.lang.ClassCastException: org.jnp.interfaces.NamingContext cannot be
cast to org.jboss.security.SubjectSecurityManager
        at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:488)
        at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:619)


Can someone give me an idea of what's going wrong?

Thanks,
Josh





More information about the jboss-user mailing list