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=9e3659a349c4196656f00960ab654ad99a32b2b3;hb=e3c0c1dde90a84f109d8b9cfbfc8100b3a95a632;hpb=1d5391dc09052c89a74284abae99f8b532a4f6a5 diff --git a/tools/service-proxy/service-proxy.properties b/tools/service-proxy/service-proxy.properties index 9e3659a..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/ @@ -38,8 +41,10 @@ ils.CFWS_URL = http://localhost:9003/connector chains.auth = authn chains.categories = categories chains.ils = ils -chains.* = relay # Map all other commands to the Pazpar2 relayer +# Map all other commands to the Pazpar2 relayer +chains.* = relay,statistics # Just so I can check that this particular SP config is in use chains.mike = info +plugins.info = com.indexdata.serviceproxy.plugins.InfoPlugin