ogc filter getFeature

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

ogc filter getFeature


i was trying the "Obligations" example with OGC Filter expression.

This is my Filter in permission.xml (same example on your site)

<Permission name="bob_GetFeature_topp_states">
            <Action value="/operations/GetFeature"/>
            <Resource value="/featuretype/states"/>
            <Subject value="bob"/>
            <Obligation name="obligation:wfs:filter">
                <Attribute attributeDataType="http://www.opengis.net/ogc" name="filter">    <![CDATA[
                    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:topp="http://www.openplans.org/topp">
            <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
                <Attribute attributeDataType="xs:string" name="featuretype">states</Attribute>

My getFeature request in post is:

<wfs:GetFeature service="WFS" version="1.1.0"
  <wfs:Query typeName="topp:states">

But user Bob receives geometry for State 'Delaware', It isn't what I expected because Bob should only see State Texas.
It is possibile filter for state?

Thank you.


Le informazioni contenute in questo messaggio di posta elettronica sono riservate e confidenziali e ne e' vietata la diffusione in qualsiasi modo o forma. Qualora Lei non fosse la persona destinataria del presente messaggio, La invitiamo a non diffonderlo e ad eliminarlo, dandone gentilmente comunicazione al mittente.
The information included in this e-mail and any attachments are confidential and may also be privileged. If you are not the correct recipient, you are kindly requested to notify the sender immediately, to cancel it and not to disclose the contents to any other person.
Die Informationen in dieser E-Mail-Mitteilung sind vertraulich und deren Verbreitung in jeglicher Art oder Form ist untersagt. Sollten Sie diese Nachricht irrtümlich erhalten haben, ersuchen wir Sie, sofort den Absender darüber zu informieren und die Mail zu löschen.


Security mailing list
[hidden email]
Reply | Threaded
Open this post in threaded view

Re: ogc filter getFeature

Dear Samanta,

I know your posted this long time ago. Because I have the same problem I am just wondering if you could find a solution for that.

Please let me know if you have any solution and you are still working with WSS and WFS.