Peter Smythe ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5b3b4ba74e83c12dd31159d6 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNmI1ZmY4Y2UyODk2NGIxMjkyNGRjOGUxOTg5NTE5NTMiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-11051?atlOrigin=eyJpIjoiNmI1ZmY4Y2UyODk2NGIxMjkyNGRjOGUxOTg5NTE5NTMiLCJwIjoiaiJ9 ) GEOS-11051 ( https://osgeo-org.atlassian.net/browse/GEOS-11051?atlOrigin=eyJpIjoiNmI1ZmY4Y2UyODk2NGIxMjkyNGRjOGUxOTg5NTE5NTMiLCJwIjoiaiJ9 ) ENV params not used correctly by AuthKey extension, thus overwritten ( https://osgeo-org.atlassian.net/browse/GEOS-11051?atlOrigin=eyJpIjoiNmI1ZmY4Y2UyODk2NGIxMjkyNGRjOGUxOTg5NTE5NTMiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.22.2 Assignee: Unassigned Attachments: image-20230704-115043.png, image-20230704-115356.png, image-20230704-115727.png Components: authkey Created: 04/Jul/23 2:00 PM Priority: Medium Reporter: Peter Smythe ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5b3b4ba74e83c12dd31159d6 ) https://docs.geoserver.org/latest/en/user/datadirectory/configtemplate.html can be used in other places, correctly e.g. Global Settings: saved in global.xml thus: <proxyBaseUrl>https://${geoserver_hostname}.afrigis.co.za/geoserver</proxyBaseUrl> However, the Authkey extension https://docs.geoserver.org/latest/en/user/extensions/authkey/index.html does not work perfectly. The admin is able to enter the parameterised URL correctly: saved in data/security/filter/AuthKey Filter/config.xml correctly: <string>webServiceUrl</string> <string>https://_____________?geoserver=${geoserver_hostname}&authkey={key}</string> However, when the GUI loads it again, the substituted parameter is visible (this is the bug): and when saved, the config.xml file is exactly this substituted string, not the parameterised version: <string>webServiceUrl</string> <string>https://_____________?geoserver=dev-ogc&authkey={key}</string> ( https://osgeo-org.atlassian.net/browse/GEOS-11051#add-comment?atlOrigin=eyJpIjoiNmI1ZmY4Y2UyODk2NGIxMjkyNGRjOGUxOTg5NTE5NTMiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-11051#add-comment?atlOrigin=eyJpIjoiNmI1ZmY4Y2UyODk2NGIxMjkyNGRjOGUxOTg5NTE5NTMiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100228- sha1:4a42edc )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel