Author: sergeyb
Date: Mon Aug 26 12:04:05 2013
New Revision: 1517513
URL: http://svn.apache.org/r1517513
Log:
Merged revisions 1517511 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1517511 | sergeyb | 2013-08-26 13:01:54 +0100 (Mon, 26 Aug 2013) | 1 line
[CXF-5226] Fixing a typo in RedirectionBasedGrantService to do with
supporting public clients, thanks to Diarmuid Power
........
Modified:
cxf/branches/2.7.x-fixes/ (props changed)
cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
Propchange: cxf/branches/2.7.x-fixes/
------------------------------------------------------------------------------
Merged /cxf/trunk:r1517511
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/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java?rev=1517513&r1=1517512&r2=1517513&view=diff
==============================================================================
---
cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
(original)
+++
cxf/branches/2.7.x-fixes/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
Mon Aug 26 12:04:05 2013
@@ -118,7 +118,7 @@ public abstract class RedirectionBasedGr
String redirectUri = validateRedirectUri(client,
params.getFirst(OAuthConstants.REDIRECT_URI));
// Enforce the client confidentiality requirements
- if (!OAuthUtils.isGrantSupportedForClient(client,
!canSupportPublicClient(client), supportedGrantType)) {
+ if (!OAuthUtils.isGrantSupportedForClient(client,
canSupportPublicClient(client), supportedGrantType)) {
return createErrorResponse(params, redirectUri,
OAuthConstants.UNAUTHORIZED_CLIENT);
}