Skip to content

GeoFence setup architectures

Emanuele Tajariol edited this page Feb 14, 2025 · 1 revision

GeoFence is split in 2 main modules:

GeoFence does not contain an UI for editing Rule. There used to be a GWT GUI to administer the authorization rules and the related objects, but it has been removed in GeoFence 3.7, since it relied on some obsolete libraries.

Standalone setup

This is the architecture diagram of the standalone application setup:

GeoFence arch 2025 standalone

GeoServer and GeoFence run as two different webapps.
GeoServer needs the geofence extension, which implements the GeoFenceAccessManager, which in turn calls GeoFence as an external service.

Embedded setup

This is the architecture diagram of the embedded setup:

GeoFence arch 2025 standalone

All of the GeoFence core logic runs inside the GeoServer webapp.
In this case GeoServer uses the geofence-server extension (there are different flavours of it, according to the choosen external DBMS), and the GeoFenceAccessManager is configure to call the GeoFence services as internal Spring beans.

The geofence-server extension also re-implements the REST API endpoints and a wicket interface, within the other GeoServer admin pages, to edit the GeoFence rules.