cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [05/20] cxf git commit: Add the (mandatory) openid scope by default
Date Sun, 03 Jul 2016 22:10:02 GMT
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/9b130539
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9b130539
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9b130539

Branch: refs/heads/master-jaxrs-2.1
Commit: 9b130539041164a95bd70cb5711473c0417fadaa
Parents: 9e63961
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:04 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/9b130539/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