Whitespace
[mkws-moved-to-github.git] / tools / service-proxy / service-proxy.properties
index 8f4c8d8..97ba878 100644 (file)
@@ -6,9 +6,10 @@ plugins.relay      = com.indexdata.serviceproxy.plugins.Pazpar2RelayPlugin
 plugins.authn      = com.indexdata.serviceproxy.plugins.AuthNTorusPlugin
 plugins.categories = com.indexdata.serviceproxy.plugins.TargetCategoriesPlugin
 plugins.ils        = com.indexdata.serviceproxy.plugins.ILSPlugin
+plugins.statistics = com.indexdata.serviceproxy.plugins.StatisticsPlugin
 
 
-# Configuration properties for individual plug-ins 
+# Configuration properties for individual plug-ins
 
 # relay plugin, proxies commands through to Pazpar2
 relay.PROXY_MODE = 3
@@ -21,11 +22,11 @@ relay.STREAMBUFF_SIZE = 4096
 relay.PARSE_RESPONSES = true
 relay.CF_ENGINE_ADDRESS = localhost:9003
 
-# authn plugin, for torus based authentication 
+# authn plugin, for torus based authentication
 authn.TORUS_URL        = http://mkc-admin.indexdata.com/torus2/identity.USERS/records/
 authn.MASTER_TORUS_URL = http://mkc-admin.indexdata.com/torus2/admin.admin/records/
-authn.ACTION_SEQUENCE = check,login,referrer,constraint
-authn.SPECIFIC_CONSTRAINT = hostName=${thisHost} 
+authn.ACTION_SEQUENCE = check,login,referrer,constraint,ipauth
+authn.SPECIFIC_CONSTRAINT = hostName=${thisHost}
 
 # categories plugin, for Torus-based target categories
 categories.TORUS_BASEURL            = http://mkc-admin.indexdata.com/torus2/
@@ -41,7 +42,7 @@ chains.auth = authn
 chains.categories = categories
 chains.ils = ils
 # Map all other commands to the Pazpar2 relayer
-chains.* = relay
+chains.* = relay,statistics
 
 
 # Just so I can check that this particular SP config is in use