Skip to content

Commit

Permalink
Document JDBC role service password stored as plaintext
Browse files Browse the repository at this point in the history
  • Loading branch information
index-git committed Jan 25, 2024
1 parent 4929e1b commit ed4a6a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/env-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ List of [users](models.md#user) and [roles](models.md#role) giving them permissi

### LAYMAN_ROLE_SERVICE_URI
URL of [Role Service](security.md#role-service) with DB schema in format `postgresql://<username>:<password>@<host>:<port>/<dbname>?schema=<schema_name>`. URL scheme must be `postgresql`. URL host must be mentioned explicitly, as well as DB schema in `schema` URL query parameter. If you want to use [internal role service schema](security.md#internal-role-service-schema) provided by Layman, set value to `postgresql://<LAYMAN_PG_USER>:<LAYMAN_PG_PASSWORD>@<LAYMAN_PG_HOST>:<LAYMAN_PG_PORT>/<LAYMAN_PG_DBNAME>?schema=_role_service` (replace variable names with their values).
Password is stored as plaintext in GeoServer config file. Suggested solution is to create DB user exclusively for this purpose with read-only rights needed tables/views.

## Layman Test Client Settings

Expand Down

0 comments on commit ed4a6a4

Please sign in to comment.