Blank page after user cancels basic authentication

前端 未结 2 1951
无人及你
无人及你 2021-01-23 09:35

I\'ve googled a lot about the problem, but still did not find, why it is happening. When user cancels BASIC auth form in browser, blank page is appeared.

401 page is se

相关标签:
2条回答
  • 2021-01-23 09:42

    You could try to add the error code customization to your web.xml.

    <error-page>
      <error-code>401</error-code>
      <location>/errors/401.jsp</location>
    </error-page>
    

    This will allow you to properly handle the error and offer to the user an escape...

    HIH

    0 讨论(0)
  • 2021-01-23 09:56

    Enabling Kerberos Authentication in Firefox. Setup params

    • network.negotiate-auth.delegation-uris;
    • network.negotiate-auth.trusted-uris;

    to http:// for all http url`s

    0 讨论(0)
提交回复
热议问题