From e8095bab26f941faab0e791bfce5fac531f45108 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Thu, 17 Jan 2013 13:10:28 -0500 Subject: [PATCH] principal and audience are different (I thought I fixed this??) --- .../src/main/java/org/mitre/jwt/model/JwtClaims.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openid-connect-common/src/main/java/org/mitre/jwt/model/JwtClaims.java b/openid-connect-common/src/main/java/org/mitre/jwt/model/JwtClaims.java index 0cc575938..1f9d6eeb9 100644 --- a/openid-connect-common/src/main/java/org/mitre/jwt/model/JwtClaims.java +++ b/openid-connect-common/src/main/java/org/mitre/jwt/model/JwtClaims.java @@ -170,7 +170,7 @@ public class JwtClaims extends ClaimSet { * @param principal the principal to set */ public void setPrincipal(String principal) { - setClaim(AUDIENCE, principal); + setClaim(PRINCIPAL, principal); } /**