X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=tools%2Fservice-proxy%2Fservice-proxy.properties;h=376bc46edd8e64c778293f64ef2f6691b7ff9537;hp=8f4c8d8f52e44a999393b1ae9d3056b760e6202d;hb=HEAD;hpb=4c4047a68b77c251eac5275ea1637080c17c58e7 diff --git a/tools/service-proxy/service-proxy.properties b/tools/service-proxy/service-proxy.properties index 8f4c8d8..376bc46 100644 --- a/tools/service-proxy/service-proxy.properties +++ b/tools/service-proxy/service-proxy.properties @@ -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 @@ -20,12 +21,13 @@ relay.TORUS_PARAMS = ?param1=value1 relay.STREAMBUFF_SIZE = 4096 relay.PARSE_RESPONSES = true relay.CF_ENGINE_ADDRESS = localhost:9003 +relay.USE_OPAQUE_ID = udb -# 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,ipauth,constraint +authn.SPECIFIC_CONSTRAINT = token="mkws-default" # categories plugin, for Torus-based target categories categories.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/ @@ -41,7 +43,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