Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Gayan Gunawardana
+1 for new orbit bundle.



On Tue, Oct 14, 2014 at 10:20 PM, Danushka Fernando 
wrote:

> Hi Prabath and Pushpalanka
> Thanks for the information. Will try these.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Tue, Oct 14, 2014 at 8:38 PM, Pushpalanka Jayawardhana 
> wrote:
>
>> Hi Danushka,
>>
>> We have used 'nimbus' library in org.wso2.carbon.identity.oauth/4.2.4
>> component which is to be released.
>>
>> 1. 2.26.1 version has been used
>> 2. since the library is to be used by more than one bundle I guess the
>> practice is to make it an orbit bundle.
>> 3. You may find the usage at [1], specifically in the class
>> 'org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/openidconnect/DefaultIDTokenBuilder.java'.
>>
>> [1] -
>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/pom.xml
>>
>> Hope this will help.
>> Adding Gayan as he worked on this.
>>
>> Thanks,
>> Pushpalanka.
>> --
>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>> Mobile: +94779716248
>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
>> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>>
>>
>> On Tue, Oct 14, 2014 at 8:22 PM, Danushka Fernando 
>> wrote:
>>
>>> Hi
>>> I am currently working on the $subject. Here client will create a JWT
>>> and will sign and send to the server with HTTP authorization bearer header
>>> and IT will trigger this authenticator and will validate the JWT token and
>>> will log the user specified in the JWT to the system.
>>>
>>> So while working on this I ran in to following questions.
>>> 1. Do I need to use nimbus library for this? If so what is the version I
>>> need to use?
>>> 2. Since there is no orbit bundle for nimbus do I need to bundle the
>>> library in to my component? In my case its to both client side and
>>> authenticator side?
>>> 3. Is there a place that I can look in to that we have already used
>>> nimbus libraries?
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>


-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Danushka Fernando
Hi Prabath and Pushpalanka
Thanks for the information. Will try these.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Tue, Oct 14, 2014 at 8:38 PM, Pushpalanka Jayawardhana 
wrote:

> Hi Danushka,
>
> We have used 'nimbus' library in org.wso2.carbon.identity.oauth/4.2.4
> component which is to be released.
>
> 1. 2.26.1 version has been used
> 2. since the library is to be used by more than one bundle I guess the
> practice is to make it an orbit bundle.
> 3. You may find the usage at [1], specifically in the class
> 'org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/openidconnect/DefaultIDTokenBuilder.java'.
>
> [1] -
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/pom.xml
>
> Hope this will help.
> Adding Gayan as he worked on this.
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Tue, Oct 14, 2014 at 8:22 PM, Danushka Fernando 
> wrote:
>
>> Hi
>> I am currently working on the $subject. Here client will create a JWT and
>> will sign and send to the server with HTTP authorization bearer header and
>> IT will trigger this authenticator and will validate the JWT token and will
>> log the user specified in the JWT to the system.
>>
>> So while working on this I ran in to following questions.
>> 1. Do I need to use nimbus library for this? If so what is the version I
>> need to use?
>> 2. Since there is no orbit bundle for nimbus do I need to bundle the
>> library in to my component? In my case its to both client side and
>> authenticator side?
>> 3. Is there a place that I can look in to that we have already used
>> nimbus libraries?
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Pushpalanka Jayawardhana
Hi Danushka,

We have used 'nimbus' library in org.wso2.carbon.identity.oauth/4.2.4
component which is to be released.

1. 2.26.1 version has been used
2. since the library is to be used by more than one bundle I guess the
practice is to make it an orbit bundle.
3. You may find the usage at [1], specifically in the class
'org.wso2.carbon.identity.oauth/4.2.4/src/main/java/org/wso2/carbon/identity/openidconnect/DefaultIDTokenBuilder.java'.

[1] -
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth/4.2.4/pom.xml

Hope this will help.
Adding Gayan as he worked on this.

Thanks,
Pushpalanka.
-- 
Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
Mobile: +94779716248
Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka


On Tue, Oct 14, 2014 at 8:22 PM, Danushka Fernando 
wrote:

> Hi
> I am currently working on the $subject. Here client will create a JWT and
> will sign and send to the server with HTTP authorization bearer header and
> IT will trigger this authenticator and will validate the JWT token and will
> log the user specified in the JWT to the system.
>
> So while working on this I ran in to following questions.
> 1. Do I need to use nimbus library for this? If so what is the version I
> need to use?
> 2. Since there is no orbit bundle for nimbus do I need to bundle the
> library in to my component? In my case its to both client side and
> authenticator side?
> 3. Is there a place that I can look in to that we have already used nimbus
> libraries?
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Prabath Siriwardena
On Tue, Oct 14, 2014 at 8:22 PM, Danushka Fernando 
wrote:

> Hi
> I am currently working on the $subject. Here client will create a JWT and
> will sign and send to the server with HTTP authorization bearer header and
> IT will trigger this authenticator and will validate the JWT token and will
> log the user specified in the JWT to the system.
>
> So while working on this I ran in to following questions.
> 1. Do I need to use nimbus library for this? If so what is the version I
> need to use?
>

+1 for using Nimbus. The latest stable version.


> 2. Since there is no orbit bundle for nimbus do I need to bundle the
> library in to my component? In my case its to both client side and
> authenticator side?
>

+1


> 3. Is there a place that I can look in to that we have already used nimbus
> libraries?
>

Nimbus has very good documentation.

Thanks & regards,
-Prabath



>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>



-- 
Thanks & Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +94 71 809 6732

http://blog.facilelogin.com
http://blog.api-security.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Self Signed JWT based Authenticator

2014-10-14 Thread Danushka Fernando
Hi
I am currently working on the $subject. Here client will create a JWT and
will sign and send to the server with HTTP authorization bearer header and
IT will trigger this authenticator and will validate the JWT token and will
log the user specified in the JWT to the system.

So while working on this I ran in to following questions.
1. Do I need to use nimbus library for this? If so what is the version I
need to use?
2. Since there is no orbit bundle for nimbus do I need to bundle the
library in to my component? In my case its to both client side and
authenticator side?
3. Is there a place that I can look in to that we have already used nimbus
libraries?

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev