[jcifs] How to customize HTTP Status 401 Error message

Guofeng Zhang guofeng at radvision.com
Thu Apr 7 09:05:43 GMT 2005


I use NTLM HTTP Authentication. Sometime IE pop up a window dialog to
prompt for a password. At this time if the user clicks the Cancel button
on this window, IE displays:

 

type Status report

 

message 

 

description This request requires HTTP authentication ().

 

------------------------------------------------------------------------
--------

 

Apache Tomcat/5.0.26

 

I want to customize this page by defining an error page in web.xml,
like:

    <error-page>

       <error-code>401</error-code>

       <location>error401.jsp</location>      

</error-page>

But SSO will not work.

 

Is there a way to change NtlmHttpFilter so that at least the description
of the above could be customized?

 

I use JBoss 4.0.1

 

Thank you very much.

 

Guofeng

 

 

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list