[keycloak-dev] changing adapter error handling

Stian Thorgersen sthorger at redhat.com
Mon Nov 23 10:19:02 EST 2015


Are you adding documentation and example as well?

On 23 November 2015 at 16:13, Bill Burke <bburke at redhat.com> wrote:

> Any servlet based adapter will now be using
> HttpServletResponse.sendError with the appropriate Http status code of
> the protocol.  To handle errors, users will have to add the appropriate
> error code handlers in web.xml.  I should have done that in the first
> place, but quite honestly, I didn't even know that existed in the
> servlet spec.
>
> I'll be setting a request attribute that contains a protocol specific
> object so that people can view the error code, message, or anything else
> the protocol provides (i.e. SAML errors can be quite complex and can
> have their own document).
>
> Hopefully I"ll have this done by tomorrow.
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20151123/52e2ad29/attachment-0001.html 


More information about the keycloak-dev mailing list