[Geoserver-devel] [JIRA] (GEOS-8654) Error during GeoServer bootstrapping (InsufficientAuthenticationException)

Christian Mueller created an issue

GeoServer / BugGEOS-8654

Error during GeoServer bootstrapping (InsufficientAuthenticationException)

Issue Type:

BugBug

Affects Versions:

2.12.1, 2.13.0

Assignee:

Unassigned

Components:

Security

Created:

21/Mar/18 9:18 AM

Priority:

HighHigh

Reporter:

Christian Mueller

GeoServer does not load settings of a protected workspace when using Catalog Mode == Mixed

Steps to reproduce:

  • Add a role “testrole”
  • Add a workspace “testworkspace”

Add the following data access rules:

testworkspace..r
testworkspace.
.w

and assign these rules to the role “testrole”

Restart GeoServer and have a look at the log file. There is a stack trace caused by

org.springframework.security.authentication.InsufficientAuthenticationException

As a consequence, GeoServer does not load the workspace settings for “testworkspace” and falls back to the default values. Unfortunately there is no indicator on the admin GUI that something went wrong.

A debug session shows that GeoServer uses the SecureCatalog implementation during bootstrapping. During this phase is the current user is null (treated as anonymous).

Ideas/questions:

  1. Is it possible to use the non secure implementation of the catalog during bootstrapping
  2. If not, does it make sense to boostrap as “admin” or even better as “root” user.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100082-sha1:4d2891c)

Atlassian logo