Hi Rajith,

+1 for the imporvement.

it is not clear what the configuraiton file will contain : an url toward IS
to query the user roles ?

When designing the Service, how one will choose the  "external"
authorisation Provider option  ?

Thanks,
Cyril

2015-09-18 15:17 GMT+02:00 Rajith Vitharana <[email protected]>:

> Hi,
>
> We are thinking of doing an improvement in role based filtering
> functionality in DSS. We had a scenario where in a clustered environment
> users are only maintained in Wso2 IS. So when trying to do role based
> filtering, DSS tries to find the user in local userstore which doesn't have
> the user which results in error.
>
> So the idea is to provide a extension point where we can configure the way
> to get roles of user.
>
> And when creating data service, we can select the roles which are allowed
> to view filtered content. So for that also we need an api where we can get
> all available user roles. So we'll have two method APIs in a single
> interface as follows
>
> [1] - public String[] getUserRoles(MessageContext msgContext) throws
> DataServiceFault
> [2] - public String[] getAvailableUserRoles() throws DataServiceFault
>
> [1] and [2] will return array of role names.
> And to configure this extension we are going to provide a config file
> called "dataservices.xml" in "conf" folder
>
> Appreciate your feedback on this.
>
> Thanks,
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to