-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GWC-1344] Hide version info on embedded GWC home page #1345
Conversation
@@ -73,6 +73,14 @@ public void checkSecurity(TileLayer layer, @Nullable BoundingBox extent, @Nullab | |||
} | |||
} | |||
|
|||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know, if GWC is deployed stand-alone, there are indeed no SecurityFilter, the only implementation I'm aware of is in GeoServer (which you have updated accordingly in the GS counterpart).
I'm asking because I don't want to give the wrong impression in the GWC release notes... the commit message should probably be something along the lines of "Support hiding GWC version when integrated in GeoServer".
(we use the commit messages to build the GWC release notes)
@aaime I have addressed your commit message feedback by "embedded GWC" to imply in GeoServer only. |
# Conflicts: # geowebcache/core/src/main/java/org/geowebcache/GeoWebCacheDispatcher.java
# Conflicts: # geowebcache/core/src/main/java/org/geowebcache/GeoWebCacheDispatcher.java # Conflicts: # geowebcache/core/src/test/java/org/geowebcache/GeoWebCacheDispatcherTest.java
This PR hides version information and some other internal server information from the GeoServer embedded GeoWebCache home page unless the user is logged in as an administrator.
The version number is still visible in a stand-alone GWC
Issue: #1344