cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1405644 - /cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.java
Date Sun, 04 Nov 2012 21:54:25 GMT
Author: sergeyb
Date: Sun Nov  4 21:54:25 2012
New Revision: 1405644

URL: http://svn.apache.org/viewvc?rev=1405644&view=rev
Log:
[CXF-4609] Fixing a typo in ImplicitGrantService, thanks to Steven Tippetts

Modified:
    cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.java

Modified: cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.java?rev=1405644&r1=1405643&r2=1405644&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.java
(original)
+++ cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.java
Sun Nov  4 21:54:25 2012
@@ -56,7 +56,7 @@ public class ImplicitGrantService extend
                                    UserSubject userSubject,
                                    ServerAccessToken preAuthorizedToken) {
         ServerAccessToken token = null;
-        if (preAuthorizedToken != null) {
+        if (preAuthorizedToken == null) {
             AccessTokenRegistration reg = new AccessTokenRegistration();
             reg.setClient(client);
             reg.setGrantType(OAuthConstants.IMPLICIT_GRANT);



Mime
View raw message