Hi Waruna,

Cant we use that key manager server url from the api-manager.xml?
I've noticed that it can be found under APIKeyValidator element.

Regards,

On Fri, Jun 23, 2017 at 2:37 PM, Waruna Jayaweera <[email protected]> wrote:

> Hi,
> I need to access OAuth2TokenValidationService and
> DeviceAccessAuthorizationService for authentication and authorization
> required for web socket endpoint. Real time device access service will be
> run in iot-server profile so I can get DeviceAccessAuthorizationService
> as osgi service. But token service will be run in keymanager profile so I
> need keymanager url (token api url). There are some configurations files,
> we already configure key manager url (api-manager.xml,output-adapters.xml
> etc) but they are more component specific files. I have two options.
>
>    1. Add  key manager configuration to cdm-config.xml.
>    2. Use my own configuration file.
>
> Problem with use own config file is it will increase number of config
> files. So can we add keymanager configuration to cdm-config.xml so any iot
> extension need keymanager url can be retrieved from that file.
>
> Any thoughts.
>
> Thanks,
> Waruna
>
>
> --
> Regards,
>
> Waruna Lakshitha Jayaweera
> Senior Software Engineer
> WSO2 Inc; http://wso2.com
> phone: +94713255198 <+94%2071%20325%205198>
> http://waruapz.blogspot.com/
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Milan Perera *| Senior Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 77 309 7088 | Work: +94 11 214 5345
Email: [email protected] <[email protected]> | Web: www.wso2.com
<http://lk.linkedin.com/in/milanharinduperera>
<https://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to