principal and audience are different (I thought I fixed this??)

pull/263/head
Justin Richer 2013-01-17 13:10:28 -05:00
parent c17bc05b0e
commit e8095bab26
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**