Re: [Dev] Customizing properties of jwt assertion.

2014-02-03 Thread Pushpalanka Jayawardhana
Hi Lakmali, Thanks a lot for the detailed reply. I couldn't get the newly declared claim in the JWT assertion. I will check with the blog [1] steps as well. [1] - http://blog.lakmali.com/2013/12/wso2-api-manager-customizing-store-user.html Thanks, Pushpalanka On Tue, Jan 14, 2014 at 8:41 PM,

Re: [Dev] Customizing properties of jwt assertion.

2014-01-14 Thread Lakmali Baminiwatta
Hi Pushpalanka, The claims in the sample assertion you have stated(applicationId, enduser, etc) are derived from the API key. Then by using the 'enduser' value, that user's claims are retrieved [1]. AFAIK those claims will be added to the JWT token, if that claim had a value only. For example if

Re: [Dev] Customizing properties of jwt assertion.

2014-01-11 Thread Pushpalanka Jayawardhana
Thanks, I ll try out that. Regards, Pushapalanka On Sat, Jan 11, 2014 at 1:09 AM, Suresh Attanayaka sur...@wso2.com wrote: If you need to have a new claim, you can define it in the correct claim dialect and map it to a LDAP attribute. So then the JWT claims retriever will add that to the

[Dev] Customizing properties of jwt assertion.

2014-01-10 Thread Pushpalanka Jayawardhana
Hi, Is it possible to add a custom property to the JWT assertion as follows. { iss:wso2.org/products/am, exp:1389378210204, http://wso2.org/claims/subscriber:admin;, http://wso2.org/claims/applicationid:1;, http://wso2.org/claims/applicationname:DefaultApplication;,

Re: [Dev] Customizing properties of jwt assertion.

2014-01-10 Thread Suresh Attanayaka
If you need to have a new claim, you can define it in the correct claim dialect and map it to a LDAP attribute. So then the JWT claims retriever will add that to the JWT. For ex, in this case *http://wso2.org/claims/enduserWithoutTenant http://wso2.org/claims/enduserWithoutTenant can be mapped to