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 JWT. For ex, in this case 
> *http://wso2.org/claims/enduserWithoutTenant
> <http://wso2.org/claims/enduserWithoutTenant> can be mapped to cn or uid.*
>
>
> On Saturday, January 11, 2014, Pushpalanka Jayawardhana wrote:
>
>> 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";,
>>   "http://wso2.org/claims/applicationtier":"Unlimited";,
>>   "http://wso2.org/claims/apicontext":"/pizzashack/menu";,
>>   "http://wso2.org/claims/version":"1.0.0";,
>>   "http://wso2.org/claims/tier":"Bronze";,
>>   "http://wso2.org/claims/keytype":"PRODUCTION";,
>>   "http://wso2.org/claims/usertype":"APPLICATION_USER";,
>>   "http://wso2.org/claims/enduser":"admin@carbon.super";,
>>    *"http://wso2.org/claims/enduserWithoutTenant
>> <http://wso2.org/claims/enduserWithoutTenant>":"admin",*
>>
>>
>
>
> --
> Suresh Attanayake
> Senior Software Engineer; WSO2 Inc. http://wso2.com/
> Blog : http://sureshatt.blogspot.com/
> Web : http://www.ssoarcade.com/
> Facebook : https://www.facebook.com/IdentityWorld
> Twitter : https://twitter.com/sureshatt
> LinkedIn : http://lk.linkedin.com/in/sureshatt
> Mobile : +94755012060
> Mobile : +016166171172
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to