cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/2] cxf git commit: Add the (mandatory) openid scope by default
Date Thu, 30 Jun 2016 13:05:46 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 70bfd047a -> 34425010f


Add the (mandatory) openid scope by default


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9c4239c8
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9c4239c8
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9c4239c8

Branch: refs/heads/3.1.x-fixes
Commit: 9c4239c88829e7555cd7b9e35b608bbc50a77e27
Parents: 70bfd04
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Jun 30 12:12:39 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Jun 30 13:48:53 2016 +0100

----------------------------------------------------------------------
 .../cxf/rs/security/oidc/rp/OidcClientCodeRequestFilter.java    | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9c4239c8/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcClientCodeRequestFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcClientCodeRequestFilter.java
b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcClientCodeRequestFilter.java
index f465f1e..8f7cd84 100644
--- a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcClientCodeRequestFilter.java
+++ b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcClientCodeRequestFilter.java
@@ -53,6 +53,11 @@ public class OidcClientCodeRequestFilter extends ClientCodeRequestFilter
{
     private String claims;
     private String claimsLocales;
     
+    public OidcClientCodeRequestFilter() {
+        super();
+        setScopes("openid");
+    }
+    
     public void setAuthenticationContextRef(String acr) {
         this.authenticationContextRef = Arrays.asList(StringUtils.split(acr, " "));
     }


Mime
View raw message