cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Fixing demo
Date Thu, 03 Dec 2015 15:01:18 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 67063873f -> e6db5c589


Fixing demo


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

Branch: refs/heads/3.1.x-fixes
Commit: e6db5c58964c1c93bd65e8cc9dab24fe2cb25fc5
Parents: 6706387
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Dec 3 15:00:37 2015 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Dec 3 15:01:10 2015 +0000

----------------------------------------------------------------------
 .../big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e6db5c58/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
index 33b8d46..6c047ca 100644
--- a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
+++ b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryServer.java
@@ -76,7 +76,7 @@ public final class BigQueryServer {
         JwsHeaders headers = new JwsHeaders(JoseType.JWT, SignatureAlgorithm.RS256);
         JwtClaims claims = new JwtClaims();
         claims.setIssuer(issuer);
-        claims.setAudience("https://www.googleapis.com/oauth2/v3/token");
+        claims.setAudiences(Collections.singletonList("https://www.googleapis.com/oauth2/v3/token"));
         
         long issuedAt = OAuthUtils.getIssuedAt();
         claims.setIssuedAt(issuedAt);


Mime
View raw message