[keycloak-dev] changing adapter error handling

Bill Burke bburke at redhat.com
Mon Nov 23 10:47:00 EST 2015


Yes.

On 11/23/2015 10:19 AM, Stian Thorgersen wrote:
> Are you adding documentation and example as well?
>
> On 23 November 2015 at 16:13, Bill Burke <bburke at redhat.com
> <mailto: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 <mailto:keycloak-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-dev mailing list