geoserver/geoserver-cloud

Geoserver Security JDBC as role service option

ghelobytes opened this issue · 3 comments

Geoserver Security JDBC

The classic Geoserver has an option of creating a role service using JDBC. This option is not currently available on Geoserver cloud. Is there an architectural difference between the two (classic vs. cloud) that's why this isn't available by default?

Is it possible to add this option to Geoserver cloud?

So far I tried to add it as a dependency in pom.xml as indicated here https://github.com/camptocamp/geoserver-cloud-geoserver/packages/2022730 but that didn't really seem to work:

<dependency>
  <groupId>org.geoserver.security</groupId>
  <artifactId>gs-sec-jdbc</artifactId>
  <version>2.26.0.0</version>
</dependency>
Geoserver classic Geoserver cloud

Hi @ghelobytes, indeed both the JDBC and LDAP security plugins aren't integrated. No reason other than having not needed them so far.

I just did, one this pull request #564 is merged you can try with the 1.9-SNAPSHOT docker images.

Hi @ghelobytes, indeed both the JDBC and LDAP security plugins aren't integrated. No reason other than having not needed them so far.

I just did, one this pull request #564 is merged you can try with the 1.9-SNAPSHOT docker images.

Thank you! I'll give this a try for sure. Is there a general guidelines/pattern on how to add plugins/extensions?
Or is it unique or a case to case basis?

The PR #564 by @groldan has resolved this issue. Thanks a lot!

Just a note that it will be even greater if we can figure out a guidelines/patterns/steps on how to port over plugins/extensions.
Closing this issue.