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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to