cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1497249 - in /cxf/branches/2.7.x-fixes: ./ rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/utils/OAuthUtils.java
Date Thu, 27 Jun 2013 08:53:55 GMT
Author: sergeyb
Date: Thu Jun 27 08:53:55 2013
New Revision: 1497249

URL: http://svn.apache.org/r1497249
Log:
Merged revisions 1497246 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1497246 | sergeyb | 2013-06-27 09:50:49 +0100 (Thu, 27 Jun 2013) | 1 line
  
  [CXF-5092] Making sure the exception is not lost in case of the validation error
........

Modified:
    cxf/branches/2.7.x-fixes/   (props changed)
    cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/utils/OAuthUtils.java

Propchange: cxf/branches/2.7.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/trunk:r1497246

Propchange: cxf/branches/2.7.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/utils/OAuthUtils.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/utils/OAuthUtils.java?rev=1497249&r1=1497248&r2=1497249&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/utils/OAuthUtils.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/utils/OAuthUtils.java
Thu Jun 27 08:53:55 2013
@@ -109,8 +109,8 @@ public final class OAuthUtils {
         } catch (Exception ex) {
             if (token != null) {
                 provider.removeToken(token);
-                throw ex;
             }
+            throw ex;
         }
         if (token != null && validator instanceof DefaultOAuthValidator) {
             ((DefaultOAuthValidator)validator).validateToken(token, provider);



Mime
View raw message