Updating my docker based geoserver with geoserver-2.26-SNAPSHOT-authkey-plugin.zip last weekend I now get the error java.lang.NoSuchMethodError: ‘java.lang.String org.geoserver.security.GeoServerAuthenticationKeyFilter.authenticateFromCache(org.geoserver.security.filter.AuthenticationCachingFilter, javax.servlet.http.HttpServletRequest, boolean)’
This happens on any request to geoserver.
Removing the authkey authentication from the default filter chain, solved the problem - but is no solution.
Comparing to a geoserver instance without this problem Commit 6218a5e on Dec 9, 2024
src/extension/authkey/src/main/java/org/geoserver/security/GeoServerAuthenticationKeyFilter.java
maybe introduced this problem? Can anyone have a look on this?
Hi Stefan,
quick clarification question… are you trying to use a nightly build of the authkey module with a GeoServer released version? If so, the two code bases are out of synch and are not guaranteed to work, the “no such method” error is not unexpected in that case.
A better test is to use a nightly build of GeoServer along with the same day nightly build of the authkey module. Does that work?