Hi Susinda,

Seems the only option available is what you are doing now - check the role
using a custom WorkflowExecutor. You can keep the role name as a field in
your custom executor. If you provide the role name as a property in your
workflow config, WorkflowFactory will read that value and populate the
field at the time of instantiating the class.

On Tue, Nov 18, 2014 at 1:38 AM, Susinda Perera <[email protected]> wrote:

> Aslo this ldap group should be configurable.
>
>
> On Tue, Nov 18, 2014 at 1:36 AM, Susinda Perera <[email protected]> wrote:
>
>> Hi All
>>
>> We there a requirement on keeping all apis public(anyone can see) but
>> when you going to subscribe, it needs to be checked against a particular
>> ldap group to check weather that subscriber belongs to that group. If so
>> subscription is approved else not.
>>
>> What are the different approaches we can employ to achieve this?.
>> Currently we are trying on custom subscription executor. Is there any other
>> means to handle this? Appreciate your thoughts.
>>
>> Thanks
>>
>>
>> --
>> *Susinda Perera*
>> Software Engineer
>> Mobile:(+94)716049075
>>
>> WSO2 Inc. http://wso2.com/
>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>
>>
>
>
> --
> *Susinda Perera*
> Software Engineer
> Mobile:(+94)716049075
>
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>


-- 
*Amila De Silva*

WSO2 Inc.
mobile :(+94) 775119302
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to