Hi Thilini,

The refereed link by you is a temp location used by me for some time back.
Hence please use [2] for the same artifact.

[2] -
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/platform-integration/test-automation-framework/4.2.8/org.wso2.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/security/KeyStoreAdminServiceClient.java


Thanks,
Chamath

On Wed, Jul 22, 2015 at 12:40 PM, Thilini Cooray <[email protected]> wrote:

> Hi,
>
> Yes, you will be able to access the tenant key store via
> KeyStoreAdminService.
> [1] contains a KeyStoreAdminServiceClient which might be useful for you.
>
> [1]
> https://svn.wso2.org/repos/wso2/people/chamathg/sandbox/test-automation-framework/org.wso2.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/security/KeyStoreAdminServiceClient.java
>
> Thanks.
>
> On Wed, Jul 22, 2015 at 12:18 PM, Chathura Priyankara <[email protected]>
> wrote:
>
>> Hi Thilini,
>>
>> We cannot get the key store manager instance as above mentioned way from
>> a test case, because the test case is running out side of the OSGi
>> environment of running server.
>> So I think we have to get the tenant key store
>> through KeyStoreAdminServiceStub.
>>
>> Thanks,
>> Chathura.
>>
>> On Wed, Jul 22, 2015 at 10:49 AM, Thilini Cooray <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> org.wso2.carbon.core.util.KeyStoreManager can be used for accessing
>>> tenant key store as follows.
>>>
>>> KeyStoreManager tenantKeyStoreManager = 
>>> KeyStoreManager.getInstance(tenantId);
>>>
>>> KeyStoreManager contains a function called "getKeyStore" for retrieving key 
>>> store.
>>>
>>> Thanks.
>>>
>>>
>>>
>>> On Wed, Jul 22, 2015 at 10:35 AM, Chathura Priyankara <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm writing some test cases to test the multi-tenancy functionality in
>>>> AS.
>>>> For that I want to access tenant key store after adding a tenant. Is
>>>> there any API to access tenant key store ?
>>>>
>>>> Thanks,
>>>> Charhuara.
>>>> --
>>>> Chathura Priyankara
>>>> Software Engineer | WSO2 Inc.
>>>> Mobile : +94718795340
>>>> Blog : www.codeoncloud.blogspot.com
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> *Thilini Cooray*
>>> Software Engineer
>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>> E-mail : [email protected]
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Chathura Priyankara
>> Software Engineer | WSO2 Inc.
>> Mobile : +94718795340
>> Blog : www.codeoncloud.blogspot.com
>>
>
>
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : [email protected]
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks,
Best Regards,
Chamath Gunawardana
Technical Lead; WSO2 Inc.
Mobile : +94776322240
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to