I am new to WAFFLE and used the waffle-filter demo for my web appliation in Tomcat.
Everything works fine and the windows authentication is passed to thebrowser and I can access the username. If I use an alternate browser with no
windows authentification enabled (for example Firefox), a popup appears and allows me to log in manually. So far so good.
But if I don't know the login information and cancel the login dialog a 401 error is raised (of course). My question is:
Can I configure WAFFLE to display a own page when the login fails (the original login page of our application should be displayed)?
Of course I can't set the error-page parameter for 401 error in the web.xml because this would disable the whole authentication method.
Anyone has an idea how to define a page that should be opened when the login fails?
Thanks in advance.
Greetings from germany,