[jcifs] About NTLM Authentication

Michael B. Allen miallen at eskimo.com
Sat Sep 28 12:27:16 EST 2002


Someone  else just reported the same problem. We're not sure how to fix it.
I'm  making  significant  changes to associated code so there's no point in
trying to resolve these issues individually. Wait for the next beta. 


On Sat, 28 Sep 2002 09:58:40 +0800 (CST)
"j2ee" <sunj2ee at 21cn.com> wrote:

> Hi,
> I use the Jcifs to realize the NTLM authentication on jakarta-tomcat-4.1.10-LE-jdk14. But the NtlmHttpFilter always cannot work well. Is there anybody got it? The exception is attached.
> java.lang.NullPointerException
> 	at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:192)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
> 	at java.lang.Thread.run(Thread.java:536)
> 
> 
> ----------------------------------------------
> ÈËÖ®³õ£¬ÐÔ±¾ÉÆ£¬ÐÔѧxy¶ÌÐŶ©ÔÄרÌâ 
> http://sms.21cn.com/sexxy.jsp 
> ¶©ÇóÖ°Åàѵ¶ÌÐÅ£¬¿ìÈËÒ»²½ÇÀÏÈ»ú 
> http://sms.21cn.com/dy.jsp 
> ¸ßËÙÎȶ¨¸ßЧ30Õ×´óÓÊÏä3ÕÛ30Ôª/Ä꣨У԰¼Û£©£¡ 
> http://mail.21cn.com/huodong/9yue/ 
> ɱ¶¾±¸·Ý·­Òëרҵ¡ª¡ªÉÌÎñÓÊ¡°ÂòÒ»ËÍÒ»¡±  
> http://mail.21cn.com/huodong/9yue/index1.html 
> 
> 
> 
> 


-- 
A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and more importantly to tasks that have not
yet been conceived. 



More information about the jcifs mailing list