Per layer security subsystem initializes before the catalog, leading to rules being ignored
-------------------------------------------------------------------------------------------
Key: GEOS-2335
URL: http://jira.codehaus.org/browse/GEOS-2335
Project: GeoServer
Issue Type: New Feature
Components: Security
Affects Versions: 1.7.0
Reporter: Andrea Aime
Assignee: Andrea Aime
Priority: Blocker
Fix For: 1.7.1
Some changes occurred between end of July and today that make the security subsytem load its configuration before the catalog itself (now the catalog contents are loaded after the Spring startup). This is obviosly wrong, since the subsytem needs the knowledge about namespaces and layers to work. The result is that 1.7.0 security is totally disabled after a restart, unless something changes the property file contents forcing the security subsystem to reload it.
I only added unit and integration tests, a functional test simulating a real geoserver startup is needed to make sure this fatal flaw does not come up again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira