Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(499)

Issue 1680047: Allow SecurityTokenDecoder to communicate redirect URL to AuthenticationServletFilter

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by janluehe
Modified:
13 years, 10 months ago
Reviewers:
Paul Lindner, dev-remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

Right now, it is impossible for a custom org.apache.shindig.auth.SecurityTokenDecoder to pass a redirect URL to org.apache.shindig.auth.AuthenticationServletFilter#doFilter, for it to issue a redirect instead of returning a 401 ("SC_UNAUTHORIZED") response. The fix is to add a "redirect" field and corresponding accessor method to org.apache.shindig.auth.SecurityTokenException. AuthenticationHandler.InvalidAuthenticationException already has a slot for this.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
java/common/src/main/java/org/apache/shindig/auth/SecurityTokenException.java View 1 chunk +20 lines, -0 lines 0 comments Download
java/common/src/main/java/org/apache/shindig/auth/UrlParameterAuthenticationHandler.java View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 2
janluehe
13 years, 10 months ago (2010-06-29 01:21:34 UTC) #1
Paul Lindner
13 years, 10 months ago (2010-07-02 09:42:48 UTC) #2
seems fine, I'm curious to know how this is used in practice and if we should
implement the redirect behavior in the sample code..
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b