Hi every one,I have a question about geoserver’s Key authentication plugin.
version:2.72.2
platform:windows(tomcat and exe),linux
data dir path: /deploy/runtime/geoserver/data
install dir path: /deploy/runtime/tomcat/webapps/geoserver.war
My operation steps:
1、copy plugins’s lib into /deploy/runtime/tomcat/webapps/webapps/geoserver/WEB-INF/lib
2、restart tomcat service
3、add filter,
1) select AuthKey - Authenticates by looking up for an authentication key sent as URL parameter
2)name: token
3)Name of URL parameter: authkey
4)Authentication key to user mapper: user property
5)User/Group Service: default
6)click Synchronize user/group service button, on the top shows “Synchronized successfully by adding 1 keys” with green background
7)click save button
4、add chain
1)name: tokenChain
2)Comma delimited list of ANT patterns (with optional query string): /tiger/,/sf/
3)move “token” to the right list
4)click close button
5、move tokenChian to the top
6、click the save button
7、restart tomcat and geoserver
8、nothing happend,the server still can be visit without authkey
9、then,i delete the /deploy/runtime/tomcat/work/* and /deploy/runtime/tomcat/webapps/geoserver,restart tomcat,it works!
10、BUT!!!,when i visit the geoserver managerment page(http://localhost:8081/geoserver/web),just login in or visit the http://localhost:8081/geoserver/web/wicket/bookmarkable/org.geoserver.web.demo.MapPreviewPage?1&filter=false&filter=false page,the plugin does not work again,i can visit the
http://localhost:8081/geoserver/tiger/wms?service=WMS&version=1.1.0&request=GetMap&layers=tiger%3Apoly_landmarks&bbox=-74.047185%2C40.679648%2C-73.90782%2C40.882078&width=528&height=768&srs=EPSG%3A4326&styles=&format=application/openlayers
without authkey again
So,what i want is
when the plugin works,if i open the managerment view,the plugin still works
I’ve been struggling with this issue for a week. Thans for your help


