X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=tools%2Fservice-proxy%2Fservice-proxy.properties;h=97ba8788c67a166e7474af7688a8bc5104c8a817;hp=302be7240e40b180b77be814dee5bd673b3306a4;hb=e3c0c1dde90a84f109d8b9cfbfc8100b3a95a632;hpb=15b99b8a2b996c40380761ea1b8e263fbbdb81a1 diff --git a/tools/service-proxy/service-proxy.properties b/tools/service-proxy/service-proxy.properties index 302be72..97ba878 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 @@ -21,9 +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,ipauth +authn.SPECIFIC_CONSTRAINT = hostName=${thisHost} # categories plugin, for Torus-based target categories categories.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/ @@ -39,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