[Dev] Retrieving OAuth applications by consumer key

2016-03-20 Thread Vinod Kavinda
Hi IS team,
Is there any API or Admin service to get the registered oAuth application
information using the consumer key?
This is required for a APIM, IS integration as a third party key manager.
I found that it is possible to get all the application data from
oAuthAdminService. This won't be a proper solution in performance
wise since we have to iterate through the list.


Please help me on this.

Regards,
Vinod

-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Retrieving OAuth applications by consumer key

2016-03-18 Thread Vinod Kavinda
Thanks Pushpalanka..
This should work indeed.

Regards,
Vinod

On Fri, Mar 18, 2016 at 12:42 PM, Pushpalanka Jayawardhana 
wrote:

> Hi Vinod,
>
> This[1], should cater for your requirement.
>
> [1] -
> https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java#L142-L162
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Fri, Mar 18, 2016 at 12:34 PM, Vinod Kavinda  wrote:
>
>> Hi IS team,
>> Is there any API or Admin service to get the registered oAuth application
>> information using the consumer key?
>> This is required for a APIM, IS integration as a third party key manager.
>> I found that it is possible to get all the application data from
>> oAuthAdminService. This won't be a proper solution in performance
>> wise since we have to iterate through the list.
>>
>>
>> Please help me on this.
>>
>> Regards,
>> Vinod
>>
>> --
>> Vinod Kavinda
>> Software Engineer
>> *WSO2 Inc. - lean . enterprise . middleware .*
>> Mobile : +94 (0) 712 415544
>> Blog : http://soatechflicks.blogspot.com/
>>
>>
>


-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Retrieving OAuth applications by consumer key

2016-03-19 Thread Pushpalanka Jayawardhana
Hi Vinod,

This[1], should cater for your requirement.

[1] -
https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java#L142-L162

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


On Fri, Mar 18, 2016 at 12:34 PM, Vinod Kavinda  wrote:

> Hi IS team,
> Is there any API or Admin service to get the registered oAuth application
> information using the consumer key?
> This is required for a APIM, IS integration as a third party key manager.
> I found that it is possible to get all the application data from
> oAuthAdminService. This won't be a proper solution in performance
> wise since we have to iterate through the list.
>
>
> Please help me on this.
>
> Regards,
> Vinod
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware .*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev