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:00:50 GMT
Repository: cxf
Updated Branches:
  refs/heads/master a056d558c -> 8eea789ae


Fixing demo


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

Branch: refs/heads/master
Commit: 8eea789ae16f6a378fd4cb804e34097f427d9e9a
Parents: a056d55
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:00:37 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/8eea789a/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