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=668915b76c77ab96c5dcef3bb6fbf94d8918ae64;hb=cf87e89209beb9e0c89bc6bf719f219746a71eb2;hpb=9720875f8d72063a5b845c1ee4a3ec83e2f2b1a8 diff --git a/tools/service-proxy/service-proxy.properties b/tools/service-proxy/service-proxy.properties index 668915b..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,10 +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,ipauth,constraint +authn.SPECIFIC_CONSTRAINT = token="mkws-default" # categories plugin, for Torus-based target categories categories.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/ @@ -38,4 +42,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 \ No newline at end of file +# 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