Sending 401 as in response

Hello, I’m trying to force Vaadin to send 401 with header WWW-Authenticate: Negotiate / NTLM in order to user windows authentication, but without success. I was trying to do that in init method of UI but it doesn’t work. Is it possible to do that?