More on jboss-3.2.4 with tomcat-50
I have a slightly different error with setting up CLIENT-CERT. My application
requires that I set-up port 8442 for TLS w/o client authorization so in the
$JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar server.xml file I have
the following connector:
| <Connector port="8442" address="${jboss.bind.address}"
| maxThreads="100"
| minSpareThreads="5"
| maxSpareThreads="15"
| scheme="https"
| secure="true"
| clientAuth="false"
| keystoreFile="${jboss.server.home.dir}/../../bin/tomcat.jks"
| keystorePass="RHhyqC7S"
| sslProtocol = "TLS" />
|
the connector for port 8443 is similar. Otherwise the files are as described in the
wiki page: http://www.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule
The one difference is that I've used a
org.jboss.security.auth.spi.DatabaseServerLoginModule to obtain the roles. Everything
works fine until somewher e after the correct role is obtained as the database shows
the query in the log. Any ideas or is there some critical information that I should
provide? Thanks
11:47:54,220 ERROR [CoyoteAdapter] An exception or error occurred in the container
during the request processing
java.lang.NullPointerException
at
org.jboss.security.plugins.JaasSecurityManager.getPrincipal(JaasSecurityManager.java:271)
at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:174)
at
org.apache.catalina.authenticator.SSLAuthenticator.authenticate(SSLAuthenticator.java:149)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:92)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840408#3840408
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840408
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user