I have a geom table. Different people login my website and can see different
rows data whose one column value equal to the session value. (Differernt
people have different WMS appearence, dynamic show data) Could I do the
above?
I know I need to override or inherit some class in geoserver's library, but
I don't know the exact steps. Could some one tell me? Thank you!
--
View this message in context: http://www.nabble.com/Could-WMS-be-filtered-by-column-value--tp23006217p23006217.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
I don't think it is a simple matter to do what you describe. Filtering data based on user credentials is not something that is supported. So you would have to write your own data access which would be a lot of work...
The best you could probably do with GeoServer today would be to setup views (assuming you are using a database) for each different type of user. Then add each view as a separate layer, and assign the appropriate permissions to that layer.
As for how to actually implement exactly what you want to do... not sure I would know where to start. Someone else may have a better answer.
-Justin
shane_china wrote:
I have a geom table. Different people login my website and can see different
rows data whose one column value equal to the session value. (Differernt
people have different WMS appearence, dynamic show data) Could I do the
above?
I know I need to override or inherit some class in geoserver's library, but
I don't know the exact steps. Could some one tell me? Thank you!
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Thank you for your answer.
The method you describe is just the one I thought first. This method has a
few disadvantages. My system has many different users and their privileage
to see data depends on the area in map, so many users. And also in database
I have many layers. Many layers, many users , oh how many wms layers should
I to create? It's so complex.
Is there some compromising methods? Could I restrict different user in
different bbox? User just can see the content in the bbox, what out of the
bbox is blank?
--
View this message in context: http://www.nabble.com/Could-WMS-be-filtered-by-column-value--tp23006217p23017780.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
I think what you need is development and scheduled for the Geoserver 2.0.
Take a look here
http://geoserver.org/display/GEOS/GeoXACML-Integration
I think that is what you want. This will be a Google Summer of Code 2009
project and is under development. No solution at the moment, will take some
months to finish.
shane_china wrote:
Thank you for your answer.
The method you describe is just the one I thought first. This method has a
few disadvantages. My system has many different users and their privileage
to see data depends on the area in map, so many users. And also in
database I have many layers. Many layers, many users , oh how many wms
layers should I to create? It's so complex.
Is there some compromising methods? Could I restrict different user in
different bbox? User just can see the content in the bbox, what out of the
bbox is blank?
--
View this message in context: http://www.nabble.com/Could-WMS-be-filtered-by-column-value--tp23006217p23023261.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Yes, that is exactly what I want. Thank you for telling me and hope for
geoserver 2.0.
--
View this message in context: http://www.nabble.com/Could-WMS-be-filtered-by-column-value--tp23006217p23024237.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Did you make any progresses on this Shane or are you waiting for geoserver
2.0 GeoXACML-Integration?
I'm thinking of going into geoserver classes and change the query statement
base on user table with session id.
shane_china wrote:
Yes, that is exactly what I want. Thank you for telling me and hope for
geoserver 2.0.
--
View this message in context: http://www.nabble.com/Could-WMS-be-filtered-by-column-value--tp23006217p25511061.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
No, I haven't make any progress. I drop that functionality
tommy408 wrote:
Did you make any progresses on this Shane or are you waiting for geoserver
2.0 GeoXACML-Integration?I'm thinking of going into geoserver classes and change the query
statement base on user table with session id.shane_china wrote:
Yes, that is exactly what I want. Thank you for telling me and hope for
geoserver 2.0.
--
View this message in context: http://www.nabble.com/Could-WMS-be-filtered-by-column-value--tp23006217p25517476.html
Sent from the GeoServer - User mailing list archive at Nabble.com.