[keycloak-dev] adapter-core and errors

Thomas Raehalme thomas.raehalme at aitiofinland.com
Fri Nov 6 02:16:44 EST 2015


I added https://issues.jboss.org/browse/KEYCLOAK-2041 for this issue.

On Thu, Nov 5, 2015 at 5:36 PM, Bill Burke <bburke at redhat.com> wrote:

> Log a JIRA please.  This is something I saw when doing SAML adapter and
> should make it uniform across all adapters.
>
> On 11/5/2015 9:01 AM, Thomas Raehalme wrote:
> > Hi,
> >
> > I'm playing around with client-side error pages regarding Keycloak
> > authentication.
> >
> > I have an Java EE web application utilizing error-page definitions in
> > web.xml. If authentication fails for a reason or another, shouldn't the
> > adapter-core enable the use of these error-pages?
> >
> > At the moment all or most of the AuthChallenge implementations in
> > adapter-core call the setStatus method of the HttpFacade. This results
> > in blank responses with only the status being set. If sendError was used
> > instead then the default error-page handling would kick in.
> >
> > Is there a reason I am missing why using setStatus instead of sendError
> > in, for example, OAuthRequestAuthenticator?
> >
> > Best regards,
> > Thomas
> >
> >
> > _______________________________________________
> > keycloak-dev mailing list
> > 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
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>



-- 
*Thomas Raehalme*
*CTO, teknologiajohtaja*
Mobile +358 40 545 0605

*Aitio Finland Oy*
Väinönkatu 26 A
40100 JYVÄSKYLÄ, Finland
Tel. +358 10 322 0040
www.aitiofinland.com <http://www.codecenter.fi>

*Codecenter on nyt Aitio – me kun ei vain koodata!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20151106/ecfd5477/attachment-0001.html 


More information about the keycloak-dev mailing list