Hi Pubudu
Yes it's doable with mentioned code. What it says is authorize the given
operation for the mentioned permission.

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


On Mar 24, 2015 11:53 AM, "Pubudu Dodangoda" <[email protected]> wrote:

> Is it possible to do $Subject by editing the services.xml file?
>
> I think adding something similar to follows should do. But I have no idea
> about the elements and the attributes in the following xml code section
>
> <operation name="getStreamDefinitionDto">
>     <parameter name="AuthorizationAction" locked="true">
>         /permission/admin/manage/event-streams
>     </parameter>
> </operation>
>
> Can someone explain the above code-section, and how it would be used in
> another case?
>
> Reference - CEP-Event Stream manager - services.xml
> <https://github.com/wso2/carbon-event-processing/blob/master/components/event-stream/event-stream-manager/org.wso2.carbon.event.stream.manager.admin/src/main/resources/META-INF/services.xml>
>
> Thank you,
> --
> Pubudu Dodangoda
> BSc Engineering(Hon's) Undergraduate
> Department of Computer Science Engineering
> University of Moratuwa
> 0716053681 / 0775192994
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to