[Geoserver-devel] [JIRA] (GEOS-7652) GeoFence has multiple PropertyOverrideConfigurer

Nuno Oliveira created an issue

GeoServer / BugGEOS-7652

GeoFence has multiple PropertyOverrideConfigurer

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Community modules, GeoFence

Created:

22/Jul/16 10:24 AM

Priority:

MediumMedium

Reporter:

Nuno Oliveira

GeoFence has multiple PropertyOverrideConfigurer defined, one in geofence-persistence module and another one in gs-geofence-server module. The first one define this locations:

<list>
    <value>classpath*:geofence-datasource-ovr.properties</value>
    <value>file:${geofence.dir}/geofence-datasource-ovr.properties</value>
</list>

and the second one this locations:

<list>
    <value>classpath*:geofence-datasource-ovr.properties</value>
    <value>file:geofence/geofence-datasource-ovr.properties</value>
    <value>${geofence-ovr}</value>
</list>

The last one uses GeoServerPropertyOverrideConfigurer which means that the second location will be relative to GeoServer data directory.

The problem here is that since we have multiple PropertyOverrideConfigurer we cannot predict which properties will be used. For example, depending on which PropertyOverrideConfigurer is downloaded first it may not use a database user name different from sa.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.184.1#100008-sha1:1fb1cc9)

Atlassian logo