cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Moreń <>
Subject OAuth authorization endpoint - conditional redirect
Date Thu, 08 Jul 2010 09:54:55 GMT

When user makes request to authorization endpoint i.e:

I have to check whether oauth_token is valid. If so redirect to user's
sign in page, if not redirect to some error page.
So far I use RequestDispatcherProvider, but I am stuck a bit, hot to
perform a conditional redirection (i.e. depends on object passed to
I haven't found any easy way to do that. I can write custom
RequestDispatcherProvider based on existing one, but maybe there is
easier way?

Thanks for help.


View raw message