[undertow-dev] AuthenticationMechanism, ChallengeResult and Response Code
Anil Saldhana
Anil.Saldhana at redhat.com
Mon Dec 16 10:44:11 EST 2013
Hi,
I am wondering if a flag can be set in ChallengeResult such that
undertow does not try to set the response code on the httpserverexchange
before sending the challenge?
The reason is that an authentication mechanism may have already utilized
the httpservletresponse object to set a response code such as:
===========
response.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY);
response.sendRedirect(destination);
==============
Now since undertow tries to set a response code on the
httpServerExchange, there is an error.
Regards,
Anil
More information about the undertow-dev
mailing list