0

According to the docs it seems to be possible to change the catalog mode for a layer using this Geofence plugin.

But I can't find an option, button or something like that, that could do this in GeoServer page.

How it is possible to change the catalog mode for a layer in Geofence? Is it only possible via REST?

Changing the catalog mode in Layer Security section seems to have no effect at all.

I'm using GeoServer 2.11-RC1

1

The rule editing page embedded in GeoServer is limited to some basic stuff.

If you need to handle some more advanced filtering (such as catalog mode, CQL r/w access, attribute visibility, and all the other stuff you can see in the doc page) you need to use the GUI of the GeoFence standalone webapp or the REST interface.

  • Thank you!! What is the URL of the Geofence webapp? – Jose Hermosilla Rodrigo May 10 '17 at 12:28
  • Sorry I can't find this section. In Geoserver, once installed Geofence in Security section I have this 3 options: Geofence, Geofence Data Rules and Geofence Admin Rules, but nothing there shows catalog mode, CQL, ... options. So how can I acces to the suggested page? I'm missing something to configure/install? – Jose Hermosilla Rodrigo May 10 '17 at 13:12
  • When you define a Rule which contains workspace and layer, the "Details" button will become enabled. Once pressed, you will be presented a dialog with all the advanced filtering details, where you can also set the catalog mode. – Emanuele Tajariol May 10 '17 at 13:32
  • 1
    Here the links to the pre-built war files: github.com/geoserver/geofence#getting-geofence GeoFence should be installed in apache tomacat or some other container, just like GeoServer. Once installed, it will have its own GUI. – Emanuele Tajariol May 10 '17 at 13:45
  • 1
    Please note that there are 2 different geofence plugins for geoserver: - geofence: acts only as a client, and you need the geofence standalone webapp, which features the full-featured rule editor - geofence-server: runs the geofence engine embedded in geoserver; easier to install, but has limited rule editing capabilities. The 2 plugins are incompatibile, and you should remove all the jars belonging to one of them, before installing the other one. – Emanuele Tajariol May 10 '17 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.